• 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
Initializing a view controller...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Initializing a view controller...
      • From: Andreas Grosam <email@hidden>
    • Re: Initializing a view controller...
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: NSFileWrapper serializedRepresentation bloat?
  • Next by Date: Re: Initializing a view controller...
  • Previous by thread: Re: NSUndoManager retain/release of arguments - ad infinitum
  • Next by thread: Re: Initializing a view controller...
  • Index(es):
    • Date
    • Thread