Core Data, SQLite, or Flat Files: Choosing Local Storage
How to choose among Core Data, SQLite, and flat files for an app’s local storage, based on the shape of the data and the queries you need.
Topic
7 articles on ios.
How to choose among Core Data, SQLite, and flat files for an app’s local storage, based on the shape of the data and the queries you need.
Launch time is the first impression. How to find what work blocks the first frame and defer or remove it so an app feels instant from the tap.
How to keep SwiftUI state predictable as an app grows, with guidance on ownership, sources of truth, and the most common mistakes.
How iOS governs background work to protect battery life, and how to schedule deferred tasks that the system will actually run.
How Swift’s ownership and reference-counting model prevents whole classes of memory bugs, and the patterns that keep retain cycles and leaks away.
Local notifications seem simple until time zones, limits, and delivery rules intervene. How to schedule them so they fire when and how the user expects.
A practical account of structured concurrency, actors, and data isolation in Swift, with the trade-offs and failure modes that show up in real apps.