/SwiftDataAnimals_Migrations

https://developer.apple.com/documentation/swiftdata/adding-and-editing-persistent-data-in-your-app with Migrations and Testing

Primary LanguageSwift

SwiftData Animals

Configure the sample code project

To run the sample app:

  1. Select a development team in the Signing & Capabilities tab of the target settings.
  2. If your Mac is running macOS 14 or later, select My Mac as the destination; otherwise, select an iOS device or simulator running iOS 17 or later.
  3. Build and run the app.

Note: To learn more about the features that this sample implements, see Adding and editing persistent data in your app and Deleting persistent data from your app.