-
SwiftData / SwiftUI Combo Frustrations
The last few posts have been about my re-write of my personal application to address greeting cards. This has been a very frustrating effort as I’ve tried to restructure the app’s UI to better adhere to Apple’s design principles in order to allow the user edit both a recipient’s Address and to add their own…
-
Card Tracker Rewrite Update
This weekend I had a major milestone of the rewrite. All features are working (except edits). I was successful in adding a new feature of allowing for looking at all the cards sent for a specific event, i.e. Show me all the Christmas cards by date and recipient. This new feature is something I’ve been…
-
Card Tracker ReWrite
For the last five years or so, I’ve been working on a pet project to track the various greeting cards we send out each year. The initial version had a lot of UI problems, so I used it as an opportunity to learn SwiftUI. The second major rewrite was to add CloudKit integration so that…
-
Dive Deeper into SwiftData
Configure Persistence Track and Persist changes Modeling at scale
-
Migrate to Swiftdata
Generate model classes Complete adoption Coexists with Core Data
-
Model your Schema with SwiftData
Utilize schema Macros Evolving schemas
-
Build an app with SwiftData
Check out “Meet SwiftData” to cover the basics. This is a code along session (https://developer.apple.com/wwdc23/10154) and you should download the code from https://developer.apple.com/documentation/SwiftUI/Building-a-document-based-app-using-SwiftData The code along get’s you to build a cross platform code flashcard app. Meet the App SwiftData models Querying models to display in UI Creating and updating [Bonus] Document-based apps
-
Meet SwiftData
Code focused, using macros, to naturally work with SwiftUI Using the model Macro Working with Data Use SwiftData with SwiftUI