• 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: Image export/import question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Image export/import question


  • Subject: Re: Image export/import question
  • From: Sherm Pendley <email@hidden>
  • Date: Sun, 3 Oct 2004 12:00:16 -0400

On Oct 3, 2004, at 9:19 AM, M. Uli Kusterer wrote:

Create an NSFileWrapper for a directory. This will be your "file package", i.e. what your users see as a document. Add an NSFileWrapper for each image file to it (NSImage's -TIFFRepresentation is your friend).

Either approach should work.

The initializer for a directory wrapper is initDirectoryWithFileWrappers:, and takes a dictionary that contains the file wrappers as its argument. You can create the file wrappers first, store them in the dictionary, and then pass that to the directory wrapper's initializer. Or, you can initialize the directory wrapper with an empty dictionary, and add the file wrappers to it.

The dictionary used to create a directory wrapper is a *completely* different animal from the dictionaries he might use to hold his data and create property lists.

sherm--

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >RE: RE: Re: Image export/import question (From: "Peter Karlsson" <email@hidden>)
 >Re: Image export/import question (From: Sherm Pendley <email@hidden>)
 >Re: Image export/import question (From: "M. Uli Kusterer" <email@hidden>)

  • Prev by Date: Re: Cocoa-dev Digest, Vol 1, Issue 104
  • Next by Date: Re: Any news about Cocoa Java ?
  • Previous by thread: Re: Image export/import question
  • Next by thread: RE: Re: Image export/import question
  • Index(es):
    • Date
    • Thread