#swiftdata

Found 4 articles tagged with #swiftdata

Auto-Tagging in iOS with an OpenRouter LLM API

Here's how I built a background analyzer that uses an LLM to generate titles and tags for every draft — fully automatic, non-blocking, with retries and concurrency control.

SwiftData or Core Data in 2026

SwiftData or Core Data — a practical comparison with code examples covering models, queries, migrations, concurrency, and CloudKit to help you choose for new and existing iOS projects.

SwiftData Migrations — Lightweight and Complex

How to handle data model migrations in SwiftData, covering lightweight automatic migrations, custom versioned schemas, SchemaMigrationPlan, error handling, deduplication, and testing strategies.

A Complete Guide to iOS Data Persistence

A practical guide to every iOS persistence option — SwiftData, CoreData, UserDefaults, Keychain, File System, Codable, SQLite, GRDB, and NSUbiquitousKeyValueStore — with decision guidance and code examples.