Picking the learning backup after a very necessary one week break.
I did not go strait back into the 100 Days of SwiftUI lessons because I am still struggling with how all the core data stuff is explained there. Instead, I tried the Core Data boilerplate generation in Xcode. Then I also looked up how to add items to a "many-to-many" relation, because I seem to have missed that before.
Using the boilerplate generation does add quite a bit more demo code, but it definitely seems nicer than typing this all out by hand or copying from one project to the next.
Also a Swiftful thinking video that deals with the core data access a bit differently. Instead of creating the entity classes manually, you can create a data manager class to handle those complexities. This does seem a bit more convenient, especially considering that the manual classes would be overridden when exporting them again.
Adding to many-to-many relationships turns out to be pretty simple with with
addTo<Property>, but it took for ever to find the information for some reason.
One thing that I come to find a bit a annoying about SwiftUI is that it's pretty unclear when to use a argument name and when it's only positional... It would just be more consistent if I could always pass the name... I feel like this would be easier for retention and readability (especially for functions with multiple signatures).