• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSMutableDictionary -> NSData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: NSMutableDictionary -> NSData (From: email@hidden)

  • Prev by Date: Re: NSView and rectangle management
  • Next by Date: Re: Vanishing Toolbar, Part III
  • Previous by thread: Re: NSMutableDictionary -> NSData
  • Next by thread: Re: Reading filed mail from the Mail.app
  • Index(es):
    • Date
    • Thread