prisma-labs-dev/apple-skills

swiftdata

API reference: SwiftData.

View source
Original skill document

Rendered from the source repository. Headings, examples, code, tables, links, and referenced images are preserved.

SwiftData Documentation

Search these docs to answer questions about SwiftData APIs.

Return Format

Always include:

  1. Summary - Answer the question concisely
  2. File paths - List relevant files for full details, e.g.:
  • swiftdata-model.md for @Model macro
  • swiftdata-query.md for @Query usage

Files

  • swiftdata-index.md - Framework overview and all available APIs
  • swiftdata-model.md - @Model macro and model definition
  • swiftdata-modelcontext.md - ModelContext for CRUD operations
  • swiftdata-query.md - @Query property wrapper for fetching data
from this repository

More skills

All skills