PersistentStoreCoordinator for OSX and iOS