Re: What is the likely reason why objects aren't being loaded from a XIB?
Re: What is the likely reason why objects aren't being loaded from a XIB?
- Subject: Re: What is the likely reason why objects aren't being loaded from a XIB?
- From: Jamie Pinkham <email@hidden>
- Date: Fri, 23 Sep 2011 21:35:15 -0400
I've made the mistake of having to same named nib files in my project, and it caused weird behavior. It's pretty easy to overlook, too.
However, in my case, the nib would load correctly every other time I ran the app.
On Sep 23, 2011, at 8:52 PM, G S wrote:
> Hi all.
>
> I have a pretty simple iPhone XIB with of course the main view, then a
> toolbar, a UITableView, and a custom grid view.
>
> The controller (owner of this file) handles an initWithNibName and
> calls up through one superclass to UIViewController's initWithNibName.
> I've verified that this is being called.
>
> Problem is, after this, all the member controls are still nil. In IB,
> the XIB shows that the connections are made. The classes are right.
> I even re-did all the connections in case of a XIB corruption.
>
> What might I be overlooking?
>
> Thanks!
>
> Gavin
> _______________________________________________
>
> 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
_______________________________________________
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