NSFileWrapper *fileWrapper = … some Folder … NSData *dataRaw = fileWrapper.serializedRepresentation; NSDate *dataCompressed = … COMPRESSION_LZFSE …
When I do this in OS X 10.11.4 dataRaw = 30380898, dataCompressed = 5638680 ( 18.6 %) But in the iOS Simulator 9.3.1: dataRaw = 28206422, dataCompressed = 4282602 ( 15.2 %) That is OS X (10.11.4) makes an 8 % bigger FileWrapper compared to iOS (9.3.1), which also compresses less well → 32% overhead. Is there a method like: serializedRepresentationInTheNeatAndLean_iOS_way ? Gerriet. _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
