On Mar 3, 2014, at 14:42 , Graham Cox <graham....@bigpond.com> wrote:

> If NSKeyedUnarchiver was doing this, I'd have discovered my bug immediately, 
> instead of taking three very hard and wearisome days to track it down.

Yes. In fact, there are at least three bugs worth reporting:

1. Inadequate documentation of the requirements of ‘initWithCoder:’s return 
value.

2. Lack of an exception when the unarchiving of a collection encounters a nil 
member.

3. Need for proper error reporting in the standard unarchiving mechanism (say, 
deprecating ‘initWithCoder:’ in favor of a putative ‘initWithCoder:error:’).




_______________________________________________

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