Hi I'm watching the Stanford CS193p iOS 9 Core Data lecture
A new iOS project is created with Core Data and copies the AppDelegate's Core Data part to the other project.
The question is when I create a new project with Core Data it's AppDelegate only has the two methods and a variable (see the screenshot).
I cannot find the managedObjectModel
variable.
Do I have to implement this myself?
I'm using Xcode 8.0
我发现使用persistentContainer.viewContext的swift3
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.