Daily iOS
Persistence

Choosing Core Data

Which requirements push you to Core Data (or SwiftData) instead of UserDefaults or a plain file?

How would an interviewer hear this answer? You'll see whether they'd move on, dig in, or say no, and which sentences would trip you up. Your score doesn't change.
See the short answer

Core Data is an object graph management and persistence framework on top of SQLite. You pick it when you need relationships, queries, sorting, change tracking, migration, or CloudKit sync.

Share a question