Mastering Core Data questions
Most interviewers don’t ask about general frameworks (besides UIKit, SwiftUI, and Foundation), but Core Data is considered an exception. Core Data is a fundamental framework in iOS development because it’s an optimized and simple solution for setting up our data layer and managing a persistent store.
Core Data evolved over the years and became a primary framework for many developers. It is integrated perfectly into the iOS development ecosystem, working perfectly with Xcode and other iOS frameworks.
There are several concepts to know about Core Data:
- Data model: Core Data is built around a data model, which defines the data structure stored in the app. The data model is typically determined using Xcode’s data modeling tool and includes entities (which represent objects in the app), attributes (which describe properties of those objects), and relationships (which define how entities are related to each other).
- Managed...