On Nov 14, 2008, at 11:09, Brian Stern wrote:

On Nov 14, 2008, at 1:58 PM, Jonathon Kuo wrote:

Okay, let me rephrase the question...

I have an NSButton in my MainMenu.nib, and I've connected it to my controller class's "myButton" ivar by control-drag. Repeat this many times. Now, is there any way in Interface Builder to determine what IBOutlet/ivar a particular button has been connected to? If I control-drag from myButton to my controller instantiation, I get a little black menu showing all of the IBOutlets, but none of them are selected or indicated in any way. So far as I can tell, there's *no way* to know or find out what, if any, assignments have been made. Surely I'm overlooking something!

Set the xib/nib window to list view mode. Control-click on the file's owner and a little black window will appear that shows the connections. You can click on all the views in the list as well.

Also, this same information *is* shown in the Connections pane of the Inspector, for the currently selected object. Maybe the OP didn't select File's Owner before looking for the information in the Inspector.


_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [EMAIL PROTECTED]

Reply via email to