Re: [iPhone] Search control like in App Store
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