The documentation doesn't actually say it's archived - it talks about the 
"serialized" size. That could imply that it's passed around as a plist rather 
than a keyed archive. But a plist has a fair bit of overhead as well, as it's 
an XML file.

--Graham




> On 27 Feb 2015, at 5:04 pm, Graham Cox <graham....@bigpond.com> wrote:
> 
> 
>> On 27 Feb 2015, at 4:27 pm, Alex Kac <a...@webis.net> wrote:
>> 
>> What’s not shown above is the identifier - which is a 64 character string, 
>> and the sound name which is a 10 character string. I’m pretty sure that’s 
>> not more than 1k
> 
> 
> Right, but it's the resulting archive that has to come in under 1K (a 
> ridiculously small limit!). Archives include all sorts of stuff on top of the 
> actual string content - complete class names for all classes involved, all 
> the keys and a fairly complex structure. You might want to just archive your 
> user data with keyed archiver and check the resulting length of the NSData.
> 
> --Graham
> 
> 


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to