This is a companion discussion topic for the original entry at https://www.raywenderlich.com/5429279-programming-in-swift-functions-and-types/lessons/26
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/5429279-programming-in-swift-functions-and-types/lessons/26
Whatβs the difference between case #2 and case #3 ?
We can also write case 3 as " case let .onYAxis(y)"
It would be wonderful to get a challenge associated with this lesson. I had some trouble wrapping my head around the concept and read the swift documentation to supplement. A challenge would have made me feel more confident that I had a full understanding. Thank you!
1 Like