Loading a CSV into Core Data managed sqlite db

后端 未结 2 1066
予麋鹿
予麋鹿 2020-12-14 04:42

I have a CSV file containing data. I want to load it into a Core Data managed sqlite db.

I just ran one of the sample Core Data Xcode apps and noticed it created the

2条回答
  •  情书的邮戳
    2020-12-14 05:15

    Use NSScanner to read your CSV file into the NSManagedObject instances in your Core Data store.

提交回复
热议问题