How do I create many temporary objects and then save only one using Core Data?

后端 未结 3 1327
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-14 02:20

I am working on an application that will perform a search against an online service and generate many Result objects. A Result object is an NSManagedObject, initialized as requi

3条回答
  •  忘了有多久
    2021-02-14 02:49

    Create Result objects that are not NSManagedObject subclasses. When the user picks one, create a single managed instance and save that.

提交回复
热议问题