Group Group Group Group Group Group Group Group Group

Your Second iOS and SwiftUI App | raywenderlich.com

Thanks Jessy.

Seems like it really makes no sense to dig into SwiftUI too much right now…
Maybe even for a couple of years !
That’s too bad, my goal was to update a few of my 10 year-old obj-C apps to SwiftUI, mainly to avoid the whole Autolayout mess…

@ryannee Thank you for your feedback - much appreciated!

@jessycatterwaul just a note, I think this course should come after the " Programming in Swift: Functions and Types" in the iOS Beginner’s Learning Path. I’m by no means new to programming, but I am new to Swift, and going through this course I was often left scratching my head about what on earth was going on. Going through the Functions and Types course would have made it much easier to follow along in this course (particularly the section about closures).

2 Likes

Is the “Your Second iOS and UIKit app” course gone? I’m coming to this straight from the path and have zero experience with SwiftUI as I chose the UIKit path for the first Bullseye app.

Working through this tutorial I was surprised the code in the Binding video worked despite XCode raising an issue. Specifically, the code in ContentView is changed to be:

ForEach(taskStore.tasks) { index in
  RowView(task: self.$taskStore.tasks[index])
 }

I’m surprised this works because it is now iterating over tasks rather than indices, but then treating the value as an index inside the loop. What’s the intuition here? Thanks!

Hey! It sounds like you didn’t follow the preceding video. I think your answers are in there.

1 Like

Yes - I rewatched that video and see how it works now! I watched the two videos a few days apart and had forgotten what the extensions had provided. XCode is also no longer showing an error, so I’m not sure what that was about.

Thanks for the super-fast response, particularly on a Saturday afternoon!

1 Like