I don't know how to save it with Core data.

Asked 2 years ago, Updated 2 years ago, 40 views

I don't know how to save it with Core Data.
The project is an OSX app, which I could use XCode's auto-generated template and use Core Data and bindings to add, delete, and display data in Table View, but I don't know how to save it.
I got some information about using managedObjectContext save method, but I can't find managedObjectContext.Application development is already too difficult.

The environment is OSX 10.10.3 XCode 6.3.1.
Thank you for your cooperation.

objective-c xcode macos

2022-09-29 22:12

1 Answers

If you put a checkbox in Use Core Data at the time of project creation, it will be in AppDelegate.(h|m).


2022-09-29 22:12

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.