Initializing a view controller...
Initializing a view controller...
- Subject: Initializing a view controller...
- From: Phil Hystad <email@hidden>
- Date: Mon, 10 Jan 2011 07:17:11 -0800
Is there a proper way to initialize a view controller. So far, I have been doing this in the application delegate by calling calling an initialize method ( i.e. [viewController initialize]) in application:didFinishLaunchingWithOptions: method (prior to the view being added to the window and the window made visible).
However, I am not sure if this is the Cocoa canonical way of doing things. By the way, this example comes from UIKit but the same question would apply to any OS X Cocoa application too.
phil
email@hidden
_______________________________________________
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