Re: NSDocument package saving invalidates wrapper? Options?
Re: NSDocument package saving invalidates wrapper? Options?
- Subject: Re: NSDocument package saving invalidates wrapper? Options?
- From: Markus Spoettl <email@hidden>
- Date: Sun, 02 Sep 2012 22:29:38 +0200
On 9/2/12 10:12 PM, Mike Abdullah wrote:
OK, thanks a lot for that tip. Even though I overwrote -setFileURL: for
some other task it never occurred to me to look if that's a better place.
Feels very natural actually. I find it extremely odd that the requirement
to update file wrapper isn't documented anywhere.
It seems the doc system assumes you generate the file wrapper afresh each
save.
Actually the Document Programming guide goes into details about file wrappers
and talks about keeping them for faster IO:
http://developer.apple.com/library/mac/documentation/DataManagement/Conceptual/DocBasedAppProgrammingGuideForOSX/AdvancedTopics/AdvancedTopics.html#//apple_ref/doc/uid/TP40011179-CH7-SW10
Regards
Markus
--
__________________________________________
Markus Spoettl
_______________________________________________
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