• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bug reporting again.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug reporting again.


  • Subject: Re: Bug reporting again.
  • From: Ben Kennedy via Cocoa-dev <email@hidden>
  • Date: Sun, 22 Nov 2020 13:22:07 -0800

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 (email@hidden)

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:

This email sent to email@hidden

References: 
 >Bug reporting again. (From: Alex Zavatone via Cocoa-dev <email@hidden>)

  • Prev by Date: Re: Bug reporting again.
  • Previous by thread: Re: Bug reporting again.
  • Index(es):
    • Date
    • Thread