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ā¦
@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).
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!
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!
Sorry for hijacking the thread, but Iām kind of stuck in several ways.
Iām unable to create nw topics in the group āOfficial Tutorialsā. Is the group closed?
The āYour second iOS and SwiftUI appā is for Swift 5.1, iOS 13, Xcode 11. Iām on the latest versions Swift 5.3, iOS 14, Xcode 12, which makes the code break. E.g. view modifier navigationBarTitle is depreciated. What to do?
Nobody can! Every course episode and written tutorial gets one topic, automatically, only.
If Xcode offers a button, inline, to fix it, use that.
If not, looking up the error message on the internet should hopefully provide a solution.
Normally, coming here to ask about such problems would make sense, but a whole new Your Second iOS and SwiftUI App is about to be released. I think next week, but you can check with customer support.
OK, sorry if Iām slow here. So the way to post questions on a topic, say āYour second iOS and swiftUI appā is to reply to the first post on the topic. The one youāve created on the 19th of October!?
I didnāt really create it. A discussion that corresponds with every episode is automatically created upon course release Typically, a question can be targeted at an episode, but it doesnāt always make sense.
If you find this system lacking, please let customer support know!
Thanks. I triple-checked the code, they seemed identical. However, once Iāve added the ObservedObject and related code, my input can be added to the tasks array. BTW, as a beginner, it is quite challenging to understand the concept for the 2nd iOS app things. I am trying my bestā¦rewinding videos, reading with 0.5x or 0.75x and jotting down notes. Thanks for your nice videos.