On Dec 26, 2008, at 9:48 PM, Steve Steinitz wrote:
However, I have one entity that has only one record (for user
preferences). I fetch the record fresh into its very own
managedObjectContext for each access -- and even resetting the
managedObjectContext. That direct binding, bypassing an
arrayController, Never discovers database changes once the
Preferences window is created.
(a) What did you bind to?
(b) Have you tested to ensure that the managed object is being updated?
- Did you use refreshObject:mergeChanges:?
- If so, is the context's staleness interval exceeded?
<http://developer.apple.com/documentation/Cocoa/Reference/CoreDataFramework/Classes/NSManagedObjectContext_Class/Reference/Reference.html#//apple_ref/occ/instm/NSManagedObjectContext/refreshObject:mergeChanges:
>
mmalc
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]