IB creating NULL outlet...
IB creating NULL outlet...
- Subject: IB creating NULL outlet...
- From: Jeff Diamond <email@hidden>
- Date: Mon, 05 Oct 2009 18:06:30 -0500
This is related to my previous thread. I have a situation in which an
IBOutlet I've defined is getting a value of 0, leaving me unable to
communicate with a GUI object. I'm using XCode 3.1. Here's a summary
of the scenario in IB:
I have dragged an NSObject (blue cube) to my MainMenu.xib folder.
I've checked that this object is set to my controller class.
I also have an NSOpenGLView in my GUI, and it's set to my View class.
I've set the controller object to set its IBOutlet to this OpenGLView,
by ctl-dragging a line from the NSObject to the View. It shows the
correct outlet name, but nothing to indicate the outlet is hooked up to
this View.
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.
Thanks, guys.
- Jeff
_______________________________________________
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