By the way, some of what you said doesn't seem to quite make sense:

> The behaviour below is what is simply not happening.
> 
> If you
>      invoke this method with a nil nib name, then this class' -loadView 
> method will attempt to load a NIB whose
>      name is the same as your view controller's class.
> 
> The easyiest way to reproduce this is to simply create a ViewController with 
> an XIB and make it the initial view controller in a storyboard.  
> Add a label to the XIB to make it obvious when or if the XIB loads.  
> In the storyboard scene for that viewController, delete the top level view to 
> create the nil condition and run the app.

What do you mean "create the nil condition"? Deleting a view outlet is not 
tantamount to calling an init method with a nil string argument.

Besides, you've quoted docs for -[initWithNibName:bundle:]. But when a 
storyboard or nib is unarchived, -[initWithCoder:] is called instead.

-ben

_______________________________________________

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