ronguest
ronguest

I've modified Swift code for some personal projects but I've never written Swift from scratch so I'm studying via 100 days of SwiftUI. Everything seems straightforward to me so far except Closures. The syntax variations are making my brain hurt. Seems too "clever" to me.

|
Embed
Progress spinner
In reply to
AngeloStavrow
AngeloStavrow

@ronguest I've yet to dig into SwiftUI but closures in Swift in general are something I struggle to get comfortable with. Funnily enough, I think the thing that has helped me has been working with JavaScript callbacks for the last few years.

|
Embed
Progress spinner