• 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: NSFileWrapper serializedRepresentation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSFileWrapper serializedRepresentation


  • Subject: Re: NSFileWrapper serializedRepresentation
  • From: Graham Cox <email@hidden>
  • Date: Tue, 05 Apr 2016 11:40:07 +1000

> On 5 Apr 2016, at 11:30 AM, Gerriet M. Denkmann <email@hidden> wrote:
>
>
>> On 5 Apr 2016, at 08:17, Graham Cox <email@hidden> wrote:
>>
>>> On 5 Apr 2016, at 10:41 AM, Gerriet M. Denkmann <email@hidden> wrote:
>>>
>>> What are the alternatives?
>>
>> file paths or NSURL?
>
> Not really. If I send file paths or NSURLs (pointing to files on OS X) to my iOS Devices, these would not be very useful.
> I really need to send the data.


Fair enough, I had only skimmed the earlier posts, I hadn’t really grokked what you’re trying to do.

Sounds like the NSFileWrapper serialization is fine here, those methods are not deprecated (though the pasteboard type it was used for may well be). For private data transfer it seems like a fair solution.

The discrepancies in data sizes between iOS and OSX appear to be irrelevant - it probably represents optional data that is discarded when going from OS X -> iOS and not created going the other way.

—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: 
 >NSFileWrapper serializedRepresentation (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: NSFileWrapper serializedRepresentation (From: Jens Alfke <email@hidden>)
 >Re: NSFileWrapper serializedRepresentation (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: NSFileWrapper serializedRepresentation (From: Quincey Morris <email@hidden>)
 >Re: NSFileWrapper serializedRepresentation (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: NSFileWrapper serializedRepresentation (From: Graham Cox <email@hidden>)
 >Re: NSFileWrapper serializedRepresentation (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: NSFileWrapper serializedRepresentation
  • Next by Date: Re: NSFileWrapper serializedRepresentation
  • Previous by thread: Re: NSFileWrapper serializedRepresentation
  • Next by thread: Re: NSFileWrapper serializedRepresentation
  • Index(es):
    • Date
    • Thread