cupertino-sample-code/swiftdata-defining-data-relationships-with-enumerations-and-model-classes
Mihaela Mihaljevic 37fd4fb24f Initial commit: 606 Apple sample code projects
MIT License - Apple Developer sample code
Downloaded via Cupertino (https://github.com/mihaelamj/cupertino)
2025-12-03 00:19:12 +01:00
..
Configuration Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00
LICENSE Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00
SwiftDataAnimals Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00
SwiftDataAnimals.xcodeproj Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00
.gitignore Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00
README.md Initial commit: 606 Apple sample code projects 2025-12-03 00:19:12 +01:00

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.