AceMobileInterview

iOS track

General topic questions

Core Data Concurrency

HardLess common

Free section · general topics & algorithms

Explain main vs private queue contexts and how you merge changes.

Reveal model answer
Use viewContext on main; background contexts for imports. parent/child or persistent history / automaticallyMergesChangesFromParent. Never pass NSManagedObject across queues—pass objectIDs.
TaskGroupActors and Isolation