Re: IB creating NULL outlet...
Re: IB creating NULL outlet...
- Subject: Re: IB creating NULL outlet...
- From: Graham Cox <email@hidden>
- Date: Thu, 8 Oct 2009 16:04:03 +1100
On 06/10/2009, at 10:06 AM, Jeff Diamond wrote:
When I run the application, the IBOutlet comes up zero, so
apparently the hook up failed.
I'm wondering if I'm missing something very basic here.
Are you certain you aren't instantiating a second controller object in
your code? That would come up with nil outlets, which is what you're
seeing. The object in the nib *is the object*, you do not need to
instantiate it, it already exists. This is a common error.
--Graham
_______________________________________________
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