Problem using filewrappers under snow leopard
Problem using filewrappers under snow leopard
- Subject: Problem using filewrappers under snow leopard
- From: Eagle Offshore <email@hidden>
- Date: Tue, 06 Oct 2009 17:23:15 -0700
And it is maddening because the error occurs outside my code. My
document class implements
- (NSFileWrapper *)fileWrapperOfType:(NSString *)aType error:
(NSError**)errPtr
and this gets called fine. It returns a new NSFileWrapper. It has
been working perfectly since Tiger (this app targets 10.4).
The return line is
return [[NSFileWrapper alloc]
initDirectoryWithFileWrappers:fileWrappers];
where fileWrappers is an NSMutableDictionary of filename->NSData's.
In Snow Leopard, this gets called and executes to completion.
However, the writing of the filewrapper to the disk fails and an alert
sheet is presented "The document "Untitled" could not be saved as "New
Document Name".
I haven't a clue why. No console message. No exception is raised.
Nothing. It JUST DOESN'T WORK. Although it works fine under earlier
versions of the OS.
How am I supposed to diagnose this?
-Todd Blanchard
_______________________________________________
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