I saw the dictionary data, its meaning is similar to:
var myDict = ["name": "John", "age": 28]
I see the code as below:
myDict.flatMap { let a = $0.0 let b = $0.1 ... }
What does $0.0 mean? What does $0.1 mean? What is the difference between $0 and $0.1 ?
source share