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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to