• 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: NSDocument and KVO compliance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDocument and KVO compliance


  • Subject: Re: NSDocument and KVO compliance
  • From: Jerry Krinock <email@hidden>
  • Date: Fri, 18 Oct 2013 19:58:35 -0700

In Core Data documents, I ignore -[NSDocument isDocumentEdited] and instead use
-[NSManagedObjectContext hasChanges].

"In OS X v10.6 and later, this property is key-value observing compliant."

In earlier Mac OS X versions, -hasChanges also more reliably gave the correct answer, although that might be fixed as of 10.7 or so.



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden


  • Follow-Ups:
    • Re: NSDocument and KVO compliance
      • From: "email@hidden" <email@hidden>
References: 
 >NSDocument and KVO compliance (From: "email@hidden" <email@hidden>)
 >Re: NSDocument and KVO compliance (From: Seth Willits <email@hidden>)
 >Re: NSDocument and KVO compliance (From: Kevin Perry <email@hidden>)

  • Prev by Date: Re: NSPopUpButton binding value/selected problem
  • Next by Date: Re: iOS Storyboard - on boarding - skip
  • Previous by thread: Re: NSDocument and KVO compliance
  • Next by thread: Re: NSDocument and KVO compliance
  • Index(es):
    • Date
    • Thread