« * K @twostraws.bsky.social

Paul Hudson @twostraws.bsky.social

2026-10-27 18:05 UTC

One-to-many is the most common SwiftData relationship type - one array on one side, an optional on the other. I'd still recommend making the inverse explicit though. www.hackingwithswift.com/quick-start/...

Link: How to create one-to-many relationships - a free SwiftData by Example tutorial (www.hackingwithswift.com/quick-start/swiftdata/how-to-creat…)

11 likes, 1 reposts, 0 replies

3 Next post4 More from @twostraws.bsky.socialBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup