On Mar 25, 2014, at 7:22 AM, Keary Suska <cocoa-...@esoteritech.com> wrote:.
> 
> 
> The argument name tells it all: "nibNameOrNil" says that nil is a acceptable 
> option. Why would it be named thus if a nil value would throw an exception?

Nobody said the initializer should throw an exception. But -loadView is 
documented to throw an exception if a nil nib name was passed to the designated 
initializer. There is no reason to assume -init will pass anything but nil to 
the designated initializer.

--Kyle Sluder
_______________________________________________

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