Learning SwiftUI - Day 6 of 100

Day 6 is focused on closures, the first truly new info I’ve picked up so far. Not syntax changes, and not interesting plays on things I’ve seen before. Closures exist in C# but I’ve never used them, and only thought to look them up when I hit these lessons.

Closures still seem simple enough, but I can understand why they’d be hard for people learning Swift as their first go at development. What I don’t understand quite yet is why to use them. I’ll get there though.

8 March 2021 100-days-of-swiftui development


Previous post
Learning SwiftUI - Day 5 of 100 We’re getting into things I haven’t seen before, or haven’t had to know previously, and it’s rather fun. Having two names for a parameter seems
Next post
Learning SwiftUI - Day 7 of 100 Day 7 was part two of closures, and I truly think I’m benefiting from previous experience in development here. Closures seem a little bit