Well, if your viewController is loading from a nib without you calling
loadNibNamed: somewhere, then that means you did it in IB. That is, in
one of your other nibs, you have a view controller outlet that's set
to load from a specified nib. You can not put a nib to load from and
simply do t
Sorry - I'm not following. What did you mean by hooking up IB to
auto-load the nib?
2009/11/3 Luke the Hiesterman :
> You should pick one place or the other to do your nib loading. If you choose
> to do it yourself, then don't hook up IB to automatically load the view
> controller's nib. Then you
You should pick one place or the other to do your nib loading. If you
choose to do it yourself, then don't hook up IB to automatically load
the view controller's nib. Then you can safely call [super loadview]
followed by your own code which includes loading the view from the
nib. Alternativ
2009/11/3 Jonathan del Strother :
> Heya,
>
> I'd like to get hold of the top level objects returned by -[NSBundle
> loadNibNamed:owner:options:] when UIViewController loads my view.
> Sadly UIViewController doesn't seem to provide any way of accessing
> these, so I thought I might be able to just
Heya,
I'd like to get hold of the top level objects returned by -[NSBundle
loadNibNamed:owner:options:] when UIViewController loads my view.
Sadly UIViewController doesn't seem to provide any way of accessing
these, so I thought I might be able to just load the nib myself :
-(void)loadView {