Re: NSFileWrapper serializedRepresentation
Re: NSFileWrapper serializedRepresentation
- Subject: Re: NSFileWrapper serializedRepresentation
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Tue, 05 Apr 2016 08:45:53 +0700
> On 5 Apr 2016, at 08:30, Jens Alfke <email@hidden> wrote:
>
>
>> On Apr 4, 2016, at 9:59 AM, Gerriet M. Denkmann <email@hidden> wrote:
>>
>> Both the Simulator and the OS X App compress the same folder (which resides on OS X).
>
> OK, but the raw data size is significantly different, so they must be zipping different data. I don’t know why that would be; maybe the file paths are different from the simulated app’s POV? But I don’t think the algorithm being used is any different across platforms. It’s just that the input data is different, for whatever reason.
>
>> What I need is just:
>> Folder → Data and
>> Data → Folder
>
> NSFileWrapper is reasonable, I guess. Just don’t obsess over the details of the data size. Why does it matter, anyway?
Sending an additional 1.5 MB over (WiFi, Bluetooth - whatever is used by AirDrop) takes some additional time (probably an extra fraction of a second).
And you are right: it does not really matter (it might, if the files to be sent would be much bigger).
Kind regards,
Gerriet.
_______________________________________________
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