• 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: -viewDidUnload not always called?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -viewDidUnload not always called?


  • Subject: Re: -viewDidUnload not always called?
  • From: Fritz Anderson <email@hidden>
  • Date: Fri, 14 Oct 2011 14:09:54 -0500

On 14 Oct 2011, at 11:33 AM, David Rowland wrote:

> Well, thank you. If you are interested, here is the companion diagram for view controller loading,
>
> http://drowland.net/iOS Class/View Controller loading.pdf

Perhaps I misunderstand.

If I write

MyViewController *   vc = [[MyViewController alloc] initWithNibName: @"aNib"
                                                             bundle: nil];

The view controller does not "come from a NIB;" it was instantiated inline. So the answer to your third question is no, and your chart says, "iOS will create a simple view and assign it to the view property of the view controller." In fact, the other branch is taken: "iOS will load the view from the nib."

	— F

_______________________________________________

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: 
 >-viewDidUnload not always called? (From: Rick Mann <email@hidden>)
 >Re: -viewDidUnload not always called? (From: Fritz Anderson <email@hidden>)
 >Re: -viewDidUnload not always called? (From: David Rowland <email@hidden>)
 >Re: -viewDidUnload not always called? (From: Jon Sigman <email@hidden>)
 >Re: -viewDidUnload not always called? (From: David Rowland <email@hidden>)

  • Prev by Date: Re: 'Static' items in an NSOutlineView
  • Next by Date: Re: -viewDidUnload not always called?
  • Previous by thread: Re: -viewDidUnload not always called?
  • Next by thread: Re: -viewDidUnload not always called?
  • Index(es):
    • Date
    • Thread