Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. COHi Marcus and thanks. I can see there is not much info to work with. My main grievance with building intermediate objects is that I will have to build X implementations. There are use cases where I automatically add some books to the persistent store, where many books will be added and situations like above where only one should be persisted. I will also have to maintain Book and tempBook and populate the values from one to the other "manually", as far as I know, there is no "copy values from NSObject to NSManagedObject". Core Data is surely fast enough that it would keep things very 'clean'.
      singulars
    2. COran out of characters. Yes books are mostly only used that one time. I also have "collections of books" entities(not containing actual books, just enough info to retrieve a set of books) that follows the above use cases, I have author entities and publisher entities that behaves in very similar manners. Using Core Data and NSPredicate I can keep things very transparent, with an overhead that is almost non existing.
      singulars
    3. COI found this one:http://stackoverflow.com/questions/1619911/how-do-i-create-many-temporary-objects-and-then-save-only-one-using-core-data I went through the documentation again and it states that sending the deleteObject:Book message to a book that is not yet saved, has very little overhead as it simply removes the book from the context, no interaction with the store is needed.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload