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 (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com