This is a companion discussion topic for the original entry at https://www.raywenderlich.com/5429279-programming-in-swift-functions-and-types/lessons/18
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/5429279-programming-in-swift-functions-and-types/lessons/18
Just FYI - sort wasn’t included in the challenge.
1 Like
Good catch! I’ll make sure to add sort
into the next update :]
I used
map { $0.key }
here, is it OK too, or the longer version is preferred?
1 Like
I’ve slowed down these videos to 50%, repeated watching them over and over. I’m so lost.
Same! Im really confused. I don’t understand in the first challenge how (result, name) works? How does the compiler know what to assign result and name and why are even needed?