@michaelrowe01 @alpennec Yes, the support for proper relationship joins is one of the best features of EOF^d^d^d, CoreData^d^d^d^d^d^d^d^d, #SwiftData!
One thing I really want out of #wwdc is better sorting for Query in #swiftData - I want to be able to sort based on two related objects so I don’t have to do in memory sorts or duplicate data.

Converting Core Data Models to SwiftData Models

#swiftui #swiftdata

Build a Flash Card app in #SwiftUI using #SwiftData. One of two apps my students needed to build w/o AI during their hands-on 2.5 hr. in-class 2nd mid-term. Use this as a test, (pause after each question shown, complete, and compare answers), or watch it as a refresher lesson that provides a "recipe" breakdown for thinking about basic SwiftData setup w/MockData. https://youtu.be/pyKM3FJhQWg #CSed, #ADE, #Swift
Build a FlashCards iPhone App - Challenge & Solution using SwiftData

YouTube
Ok, Have tested the app now up to 1100 transactions, seems to be more responsive, (not completely as good as I want it to be, but amazingly better). Wonder if I should add pagination, like I did on #visionOS #apple #swiftdata #SwiftUI

I think I know the answer to this, unfortunately, but…

I got this crash via TestFlight feedback. Despite being able to identify the line that crashed, there's no way to recover the actual error right?

SwiftData migration crashes are such a bummer. This is probably an expected problem caused by an intermediate schema, but it might be signifiant. #SwiftData #Swift

SwiftData will infer relationships automatically - but only when it's safe to do so (specifically when the relationship is optional). Pro tip: specify the @π‘…π‘’π‘™π‘Žπ‘‘π‘–π‘œπ‘›π‘ β„Žπ‘–π‘ inverse on only one side to avoid circular reference errors.

πŸ”—: https://www.hackingwithswift.com/quick-start/swiftdata/inferred-vs-explicit-relationships by Paul Hudson (@twostraws)

#SwiftData #Swift #iOSDev

Inferred vs explicit relationships - a free SwiftData by Example tutorial

Learn Swift coding for iOS with these free tutorials

Hacking with Swift

"I survived my first SwiftData migration, and all I got was this lousy–"

Lost connection with debugger. #SwiftData