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%20Class/View%20Controller%20loading.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 (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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to