Associated Values |

This is a companion discussion topic for the original entry at

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