• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: managedObjectContext.hasChanges not binding right to non-menu UI items?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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

  • Prev by Date: Re: Using bindings to make an NSPopupButton to assign an array filter predicate
  • Next by Date: Crash log with '???' as app version?
  • Previous by thread: managedObjectContext.hasChanges not binding right to non-menu UI items?
  • Next by thread: Preference Pane require version test?
  • Index(es):
    • Date
    • Thread