Re: NSDocument and KVO compliance
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