• 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] Search control like in App Store
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iPhone] Search control like in App Store


  • Subject: Re: [iPhone] Search control like in App Store
  • From: mmalc Crawford <email@hidden>
  • Date: Thu, 08 Jan 2009 09:51:41 -0800


On Jan 8, 2009, at 9:37 AM, Mohan Parthasarathy wrote:

The problem was that my WebViewController had an empty stub "loadView"
though the actual work was done in ViewDidLoad. When i read the
documentation it does say that when you load a ViewController using
initWithNiBName use ViewDidLoad and not loadView. But i did not know that an
empty loadView could cause problems like this :-)


[...] if you initialize the view using a nib file—that is, you set thenibName and nibBundle properties—then you should not override this method because the default implementation already reloads the nib file. Instead override the viewDidLoad method to set any properties after the nib file is loaded.

<http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIViewController_Class/Reference/Reference.html#//apple_ref/doc/uid/TP40006926-CH3-SW1 >

mmalc

_______________________________________________

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] Search control like in App Store (From: "Martijn van Exel" <email@hidden>)
 >Re: [iPhone] Search control like in App Store (From: Robert Marini <email@hidden>)
 >Re: [iPhone] Search control like in App Store (From: "Martijn van Exel" <email@hidden>)
 >Re: [iPhone] Search control like in App Store (From: Jonathan Hess <email@hidden>)
 >Re: [iPhone] Search control like in App Store (From: Robert Marini <email@hidden>)
 >Re: [iPhone] Search control like in App Store (From: "Mohan Parthasarathy" <email@hidden>)
 >Re: [iPhone] Search control like in App Store (From: Robert Marini <email@hidden>)
 >Re: [iPhone] Search control like in App Store (From: "Mohan Parthasarathy" <email@hidden>)

  • Prev by Date: Re: Recording video from a QCView to .mov
  • Next by Date: Re: App Listener?
  • Previous by thread: Re: [iPhone] Search control like in App Store
  • Next by thread: Python-Cocoa Development
  • Index(es):
    • Date
    • Thread