On 17 Sep 2013, at 00:26, Graham Cox <graham....@bigpond.com> wrote:

> 
> What I was sort of hoping was that there was a way to figure out from the 
> archive how many objects there were without having to archive the number 
> explicitly. For example, the root level of an archive is a dictionary, which 
> has a count, but that's only the top level. Going more into the way archives 
> are actually stored, maybe the $top array might be a more accurate count? 
> Dunno, I guess I'll have to experiment.

Every archive has a $objects table at the end. The size of it is easily 
readable. (But doing so might break whenever Apple changes the format).

Kind regards,

Gerriet.


_______________________________________________

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