You can not disable the auto-save. If you don't want object saved into the Core Data store then use plain NSObject
subclasses.
That said, you should use Core Data, and what you're missing is probably setting the unique identifier key on the mapping (identificationAttributes
). If you don't have unique identifier information coming from the server then you should add it. See this example entity mapping with identificationAttributes
.
Calling addSQLitePersistentStoreAtPath
creates the store the first time it's called and loads it on subsequent calls. So, before you call it there is no store so nothing can be added to it.