nsmanagedobject
objective-c: writing a custom getter for ABRecordRef object
I\'m trying to write a custom getter for a property with type ABRecordRef (which is a C-type). I don\'t understand the memory semantics of this, and I keep getting a crash whenever the property is acc[详细]
2023-04-04 09:50 分类:问答does NSManagedObjectContextDidSaveNotification get called for transient property updates?
I can\'t seem to get a clear answer for this: when you change a transient property, and then call save, should the NSManagedObjectContextDidSaveNotification be triggered? In my notification listener,[详细]
2023-04-03 22:21 分类:问答Setup Fetch To Search For SuperClass?
I have a NSFetch that searches for objects in the Superclass which works fine.There are 4 subclasses.I want to have it search for 3 out of the 4 subclasses instead.One of the 4 subcl开发者_运维问答ass[详细]
2023-04-03 03:35 分类:问答Managing NSManagedObjects
If I have an NSManagedObject which maintains as one of its properties a set of another type of NSManagedObject, and I set that set to nil or replace it with a different set, what happens to the manage[详细]
2023-04-01 16:35 分类:问答Multiple inverse relationships in Core Data
I have an entity Library that mains two lists of Books.It is important that the library maintain these two lists of books.On my Library entity I have a relationship thats one to many from each list to[详细]
2023-04-01 05:47 分类:问答Core Data: Observing new Entity of certain type
I would like to be notified whenever an entity of a certain type is added (and maybe changed/removed).[详细]
2023-04-01 04:53 分类:问答How to set NSManagedObject info in UILocalNotification.userInfo?
First of all, I know that it\'s impossible to serialize a NSManagedObject in the userInfo. My question is :开发者_运维问答 Imagine my app using CoreData. When I create a new NSManagedObject, I also s[详细]
2023-04-01 02:50 分类:问答NSManaged Object Loop saving same row multiple times
I\'m trying to write data from an NSMutableArray into a core data table via an NSManagedObject for loop. It writes out the last record in the the array multiple times rather than writing out each of t[详细]
2023-03-31 02:56 分类:问答Pass An Object Between 2 View Controllers
I\'m trying to pass an object between 2 VCs, from a popover to the detail view of split view controller.[详细]
2023-03-29 22:42 分类:问答Why an unsaved modified NSManagedObject returns FALSE on isUpdated after closing/opening app?
Why an unsaved but modified NSManagedObject has an empty -changedValues and returns FALSE on - isUpdated after closing/opening the app (running in background)?[详细]
2023-03-29 03:30 分类:问答