• 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: Problem with NSData to NSString to NSData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with NSData to NSString to NSData


  • Subject: Re: Problem with NSData to NSString to NSData
  • From: Graham Cox <email@hidden>
  • Date: Thu, 30 Oct 2008 08:52:39 +1100


On 30 Oct 2008, at 7:46 am, Joel Norvell wrote:

As an alternative, would it be fruitful to use a Directory Wrapper to represent the data as two files; one the metadata and the other the pdf? Then I could work with the metadata file, but just display the pdf file.

In the "What could go wrong here?" department, would my compound file end up behaving like a directory (or worse)?

What could be worse? ;-) As long as you set the "package" bit it will look like a file, as least on OS X. On other file systems it will look like a directory.


The problem I think is that your file would cease to be directly openable by any other program that reads PDFs unless they are aware of your package layout, or can drill down into packages, which isn't common.

hth,

Graham
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


References: 
 >Re: Problem with NSData to NSString to NSData (From: Joel Norvell <email@hidden>)

  • Prev by Date: Re: Problem with NSData to NSString to NSData
  • Next by Date: Re: Open Window from Input Manager
  • Previous by thread: Re: Problem with NSData to NSString to NSData
  • Next by thread: Re: Problem with NSData to NSString to NSData
  • Index(es):
    • Date
    • Thread