When is SwiftData available?

Is SwiftData going to be immediately available to use with iOS 16? I ask because I'm working on an app which I'd like to release around the end of this month, and I'm about to implement CoreData for it, but wanted to see when SwiftData would be available. My guess was that SwiftData is for iOS 17 so I should just stick with CoreData for now and switch over later, but just wanted to check to make sure. Thanks!

It will not be available before iOS 17 for sure, it's part of current beta development cycle.

Yes, @lyonnaip is right! The Apple Documentation states that the SwiftData framework will be available on:

  • iOS 17.0+
  • iPadOS 17.0+
  • macOS 14.0+
  • Mac Catalyst 17.0+
  • tvOS 17.0+
  • watchOS 10.0+

@alexander216 is correct. Make sure to watch the following session on how to use SwiftData alongside your previous implementation with Core Data. https://developer.apple.com/wwdc23/10189

SwiftData doesn’t preserve order of arrays .. is that the expected behavior?!

When is SwiftData available?
 
 
Q