Re: NSMutableDictionary -> NSData
Re: NSMutableDictionary -> NSData
- Subject: Re: NSMutableDictionary -> NSData
- From: Brian Webster <email@hidden>
- Date: Tue, 25 Jun 2002 10:23:13 -0500
On Tuesday, June 25, 2002, at 06:27 AM, email@hidden wrote:
So I am sort of rethinking that MAYBE the best bet is to
override the "folder" doc's writeToFile: ofType:
method and just handle the "folder" manually using a combo of
NSFileManager and the various writeToFile:s
If you want to create doc packages with your app, then you
definitely will have to implement writeToFile:ofType: rather
than dataRepresentationOfType:. There's really no good way to
flatten the contents of a folder into an NSData, and even if you
did so, NSDocument wouldn't be able to figure it out.
--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.