On 21 Feb 2013, at 00:42, Markus Spoettl <[email protected]> wrote:
> On 2/20/13 9:10 AM, Gerriet M. Denkmann wrote:
>> P.S.
>> I want my own archiver for 2 reasons:
>> 1. NSKeyedArchiver can store only certain strings
>
> I find that very hard to believe.
I find that very easy to proof:
NSArray *a = @[ @"$nill", @"$null", @"$nall" ];
NSLog(@"%s NSKeyedArchiver archiving %@", __FUNCTION__, a);
NSData *e = [ NSKeyedArchiver archivedDataWithRootObject: a ];
NSArray *b = [ NSKeyedUnarchiver unarchiveObjectWithData: e ];
NSLog(@"%s NSKeyedUnarchiver got %@", __FUNCTION__, b);
/* NSKeyedArchiver archiving (
"$nill",
"$null",
"$nall"
)
NSKeyedUnarchiver got ()
**/
Kind regards,
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]