Hi,


When the user does a "Save As", I want to create a folder with the same name as 
the file name they chose and put the file in that folder because there are 
other files associated with the main file being saved.


I'm using [NSData writeToFile] to save and I thought about moving it after it 
is saved with [NSFileManager movePath] in my documents saveToURL method.  Or 
calling [NSDocument setFileURL] in my documents writeToURL method, but I'm not 
sure it's OK to change the URL there.


Will either of those ways work or is there a better way to do that?


thanks
Jeff

 
_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to