Making an initial change to document, and don't want the doc marked as changed
Making an initial change to document, and don't want the doc marked as changed
- Subject: Making an initial change to document, and don't want the doc marked as changed
- From: Graham Perks <email@hidden>
- Date: Thu, 30 Aug 2007 09:04:50 -0500
I have some initial document setup that needs doing to a new
document... imagine starting a Pages document from a template, for
example. I don't want all the template instantiation to be undoable,
or to mark the document as needing saving.
How do I do this? This is a Core Data-based application. I've looked
for methods in NSManagedObjectContext and NSPersistentDocument.
NSDocument has updateChangeCount, but it reads like I should not call
it directly.
Where's -markDocumentUnchangedAndRemoveAllUndos ?
Thanks,
Graham Perks
http://www.asinglepixel.com
_______________________________________________
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