« * K @twostraws.bsky.social

Paul Hudson @twostraws.bsky.social

2026-11-17 14:12 UTC

SwiftData doesn't synthesize Codable conformance for you, but adding it by hand follows the usual pattern. If your model has relationships, those need to be Codable too. www.hackingwithswift.com/quick-start/...

Link: How to make SwiftData models conform to Codable - a free SwiftData by Example tutorial (www.hackingwithswift.com/quick-start/swiftdata/how-to-make-…)

4 likes, 0 reposts, 0 replies

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