SwiftData Documentation
Search these docs to answer questions about SwiftData APIs.
Return Format
Always include:
- •Summary - Answer the question concisely
- •File paths - List relevant files for full details, e.g.:
- •
.claude/skills/swiftdata/swiftdata-model.mdfor @Model macro - •
.claude/skills/swiftdata/swiftdata-query.mdfor @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