摘要:
1.新建项目不勾选coredata 2.pod 'MagicalRecord' 3.新建模型文件 4.添加实体和属性 5.Create NSManagedObject subclass 6.增 Person *person1 = [Person MR_createEntity]; person1.f 阅读全文
摘要:
整理自:http://www.jianshu.com/p/337872d95727 1.在创建项目的时候勾选使用coreData或者new file 一个DataModel 2.新建Entity,添加属性 3.添加类 4.上下文 @interface ViewController () { AppD 阅读全文