• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Determining GUI ivar assignments in IB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determining GUI ivar assignments in IB


  • Subject: Re: Determining GUI ivar assignments in IB
  • From: Brian Stern <email@hidden>
  • Date: Fri, 14 Nov 2008 14:09:05 -0500


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.



On Nov 13, 2008, at 12:48 PM, Jonathon Kuo wrote:

How can I tell in IB what IBOutlet ivar (in my controller code) my GUI controls are bound to ? I don't see this info in the Connections Inspector pane, but maybe I'm overlooking it... (Xcode 3.1.1, OSX 10.5.5)



--
Brian Stern
email@hidden



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Determining GUI ivar assignments in IB
      • From: Jonathan Hess <email@hidden>
References: 
 >Determining GUI ivar assignments in IB (From: Jonathon Kuo <email@hidden>)
 >Re: Determining GUI ivar assignments in IB (From: Jonathon Kuo <email@hidden>)

  • Prev by Date: Re: Determining GUI ivar assignments in IB
  • Next by Date: Re: Determining GUI ivar assignments in IB
  • Previous by thread: Re: Determining GUI ivar assignments in IB
  • Next by thread: Re: Determining GUI ivar assignments in IB
  • Index(es):
    • Date
    • Thread