Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: managedObjectContext.hasChanges not binding right to non-menu UI items?




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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >managedObjectContext.hasChanges not binding right to non-menu UI items? (From: Mike Zornek <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.