|
I was just starting to learn Swift when SwiftUI came out, and I've spent most of the last year working on the backend of my app and not touching the interface elements. So this is really my first time working in SwiftUI aside from doing some of the "my first app" type tutorials, which didn't leave me quite prepared to figure out how to accomplish what I'm trying to do, especially since I'm also incorporating a couple other concepts I'm not terribly familiar with yet. I'm building an app for audiobook library management. My primary view should be the list of books. But if the list of books is empty, it should be a view prompting the user to import some files. That part I've pretty much got worked out, except for one question.
I'm still struggling with when to use Sorry, that ended up being more than one question. Moving on. In my But
My final question: I'm not sure I understand what to do with this:
I'm not sure how I should capture the Thank you. |
|
I really really really suggest you break this into distinct forum topics to ask a single question at a time.... in relation to property wrappers: Paul specifies all of the property wrappers and what they do/how they work here: https://www.hackingwithswift.com/quick-start/swiftui/all-swiftui-property-wrappers-explained-and-compared
|
|
Thank you for replying. I apologize that I didn't realize until today that you had (I haven't yet found notification preferences.) I'm coming to realize that my data model may be a little too complex for the "out of the box" options in SwiftUI, which is why I'm having trouble applying the "out of the box" solutions most tutorials cover. But I will take your advice and break those up into more case-by-case type questions. Thank you. |
SPONSORED Join a FREE crash course for mid/senior iOS devs who want to achieve an expert level of technical and practical skills – it’s the fast track to being a complete senior developer! Hurry up because it'll be available only until April 28th.
Sponsor Hacking with Swift and reach the world's largest Swift community!
This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.
All interactions here are governed by our code of conduct.
Link copied to your pasteboard.