• 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: [iPhone 3.0; XCode 3.1.3] Question about when views are available for manipulation.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iPhone 3.0; XCode 3.1.3] Question about when views are available for manipulation.


  • Subject: Re: [iPhone 3.0; XCode 3.1.3] Question about when views are available for manipulation.
  • From: Kyle Sluder <email@hidden>
  • Date: Sat, 8 Aug 2009 01:59:11 -0700

On Aug 8, 2009, at 1:23 AM, Brian Bruinewoud <email@hidden> wrote:

Why doesn't initWithNibName create and bind all the IBOutlets before it returns?

Because it's good to be lazy. I'm not an iPhone developer, but I'm willing to wager that the nib isn't actually loaded until the view itself is requested, just like NSWindowController only loads its nib in response to -window being called.


That's why we desktop folk have -awakeFromNib and -windowDidLoad, to set up things on IBOutlet properties.

--Kyle Sluder
_______________________________________________

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: 
 >[iPhone 3.0; XCode 3.1.3] Question about when views are available for manipulation. (From: Brian Bruinewoud <email@hidden>)

  • Prev by Date: [iPhone 3.0; XCode 3.1.3] Question about when views are available for manipulation.
  • Next by Date: Re: Core Data completely unable to find the source object model for migration
  • Previous by thread: [iPhone 3.0; XCode 3.1.3] Question about when views are available for manipulation.
  • Next by thread: Re: [iPhone 3.0; XCode 3.1.3] Question about when views are available for manipulation.
  • Index(es):
    • Date
    • Thread