bigzaphod,
@bigzaphod@mastodon.social avatar

SwiftData doesn't support models with unique attributes if you sync them with iCloud which really sucks, tbh. Does anyone have a strategy for dealing with this?

simonbs,
@simonbs@mastodon.social avatar

@bigzaphod Using Core Data.

Good Bye No GIF

bigzaphod,
@bigzaphod@mastodon.social avatar

@simonbs yeah.... I'm still not sure I want to use this, tbh. There are so many foot guns here.

simonbs,
@simonbs@mastodon.social avatar

@bigzaphod I have only been dabbling a bit with SwiftData in the autumn, and while I see what Apple wants to do with it here, I don’t think they’re there yet. “It’s not production-ready” is a sentence that’s starting to lose its meaning in the iOS community, so I’ll leave it at: SwiftData leaves too much to be desired for me to use it for anything slightly complicated.

fds,
@fds@mastodon.social avatar

@simonbs @bigzaphod this is the right answer even if iCloud core data has the same issue with unique constraints.

I’ve pushed ahead with SwiftData on a new app. I think it might be a mistake but realistically I think the app will get released after WWDC so I’m kinda hoping they sort things out or it might be worse trying to undo SwiftData next August. 😅

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • magazineikmin
  • everett
  • InstantRegret
  • rosin
  • Youngstown
  • slotface
  • love
  • khanakhh
  • kavyap
  • tacticalgear
  • GTA5RPClips
  • thenastyranch
  • modclub
  • megavids
  • mdbf
  • normalnudes
  • Durango
  • ethstaker
  • osvaldo12
  • cubers
  • ngwrru68w68
  • tester
  • anitta
  • cisconetworking
  • Leos
  • provamag3
  • JUstTest
  • All magazines