Re: managedObjectContext.hasChanges not binding right to non-menu UI items?
Re: managedObjectContext.hasChanges not binding right to non-menu UI items?
- Subject: Re: managedObjectContext.hasChanges not binding right to non-menu UI items?
- From: mmalc crawford <email@hidden>
- Date: Tue, 19 Dec 2006 10:18:47 -0800
On Dec 19, 2006, at 1:14 AM, Mike Zornek wrote:
Is there any reason why I can't get a working behavior out of
binding the
documentEditied attribute of a window (in a non-document based Core
Data
app) to managedObjectContext.hasChanges ?
NSManagedObjectContext's hasChanges property is not KVO compliant.
Binding a menu's 'enabled' state to managedObjectContext.hasChanges
only works in the case of a menu item because the menu asks for the
value directly each time it is displayed.
mmalc
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden