• 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: Help with NSData dataWithContentsOfURL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with NSData dataWithContentsOfURL


  • Subject: Re: Help with NSData dataWithContentsOfURL
  • From: cocoa-dev <email@hidden>
  • Date: Wed, 3 Feb 2010 09:26:33 -0500

Thanks Graham, here's what I'm thinking.  The documents for my app are fileWrappers.  Before the document is saved for the first time I can copy the files to a temp folder and during a save move them into the fileWrapper.  I guess I need to just abandon the whole NSData idea altogether.  Too bad.

On Feb 3, 2010, at 9:19 AM, Graham Cox wrote:

>
> On 04/02/2010, at 1:08 AM, cocoa-dev wrote:
>
>> Is there an alternative to capture the data of a wrapper and a folder?
>
> Not really, because of what these things are. At best a folder could be reduced to a tree of data objects, which is what a wrapper is. But to reduce an arbitrary folder to a single data item is inadvisable as the size of that data is potentially unbounded.
>
> You could copy the file/folder to a location within your app's support directory and save the path to it, perhaps?
>
> --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

  • Follow-Ups:
    • Re: Help with NSData dataWithContentsOfURL
      • From: Charles Srstka <email@hidden>
References: 
 >Help with NSData dataWithContentsOfURL (From: cocoa-dev <email@hidden>)
 >Re: Help with NSData dataWithContentsOfURL (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Help with NSData dataWithContentsOfURL
  • Next by Date: Re: Binding to an accessor that is only valid for subclass (was: Node hierarchy with subclasses)
  • Previous by thread: Re: Help with NSData dataWithContentsOfURL
  • Next by thread: Re: Help with NSData dataWithContentsOfURL
  • Index(es):
    • Date
    • Thread