• 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: Convert PICT to NSImage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Convert PICT to NSImage


  • Subject: Re: Convert PICT to NSImage
  • From: Douglas Davidson <email@hidden>
  • Date: Mon, 27 Jun 2005 14:19:56 -0700


On Jun 27, 2005, at 1:51 PM, Ian was here wrote:

NSFileWrapper        *fileWrapper = [[[NSFileWrapper alloc]
initWithSerializedRepresentation:theData]
autorelease];



You should be using initRegularFileWithContents: here. The "serialized representation" is a special serialized representation of an arbitrary file wrapper, potentially including an entire directory structure. What you have is the contents of a single file.


Douglas Davidson

_______________________________________________
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


  • Follow-Ups:
    • Re: Convert PICT to NSImage
      • From: Ian was here <email@hidden>
References: 
 >Re: Convert PICT to NSImage (From: Ian was here <email@hidden>)

  • Prev by Date: Re: Multiple singletons
  • Next by Date: Re: NSApp with CLI access
  • Previous by thread: Re: Convert PICT to NSImage
  • Next by thread: Re: Convert PICT to NSImage
  • Index(es):
    • Date
    • Thread