How to add data manually in core data entity

前端 未结 4 1607
滥情空心
滥情空心 2021-02-03 13:04

I am working on Core Data for the first time. I have just created an Entity and Attributes for that entity. I want to add some rows as da

4条回答
  •  感动是毒
    2021-02-03 13:27

    I just created an NSManagedObjectContext, thus creating an SQLite file in the app folder.

    Then I could fill the SQLite file just as a normal one and CoreData could read out the pre filled data.

提交回复
热议问题