Skip navigation.
 
mlRE: Newb question on IB outlet assignments
FROM : M. Carlson
DATE : Thu Mar 06 23:05:19 2008

Yes, if I have the outlets panel up for the Controller, then I can see the assignment. But wouldn't it also make a lot of sense if they would reflect the pertinent info in the little black menu that pops up when you're connecting things? Perhaps an enhancement request ...

Thanks, Steven & Rob.
--MC

> From: <email_removed>
> To: <email_removed>
> Subject: Re: Newb question on IB outlet assignments
> Date: Thu, 6 Mar 2008 11:03:00 -0500
> CC: <email_removed>; <email_removed>
>
> Rather than checking the outlets for the NSTextField, check the 
> outlets for the Controller. You should see your MyTextField connection 
> listed there.
>
> On Mar 5, 2008, at 11:22 PM, M. Carlson wrote:
>
> >
> > Hmm, the only outlets listed in the Inspector Connections section 
> > for my textfield are:
> > - delegate
> > - formatter
> > - menu
> > - nextKeyView
> > Where is "myTextField" supposed to show up?
> > Thx!
> > --MC
> >
> > Date: Wed, 5 Mar 2008 21:43:27 -0500
> > From: <email_removed>
> > To: <email_removed>
> > Subject: Re: Newb question on IB outlet assignments
> > CC: <email_removed>
> >
> > Look at the Inspector for the controller - in the Connections 
> > section (blue circle with an arrow). Here you should see a list of 
> > Outlets, and so forth.
> >
> > Rob
> >
> > On Wed, Mar 5, 2008 at 8:52 PM, M. Carlson <<email_removed>> 
> > wrote:
> >
> > I'm a little confused trying to assign a NSTextField to an IBOutlet 
> > using the new Interface Builder in Leopard.
> >
> > I added a new outlet, defined in my Controller.h as:
> >
> > IBOutlet NSTextField *myTextField;
> >
> > I control-drag a blue line from the instantiation of my Controller 
> > object (blue cube) to the text field on my NIB, and it comes up with 
> > a small black Outlets menu showing me the possible outlet 
> > assignments I can make. "myTextField" shows up in this little menu.
> >
> > But, how do I actually MAKE an assignment? If I select the 
> > "myTextField" entry in the menu and click it, the menu goes away, 
> > but is it assigned? If I control-drag again, it shows me the same 
> > list of possible outlets, but there's no indication which outlet is 
> > assigned to it, if any.
> >
> > --MC

Related mailsAuthorDate
mlNewb question on IB outlet assignments M. Carlson Mar 6, 02:52
mlRe: Newb question on IB outlet assignments Rob McWhinnie Mar 6, 03:43
mlRE: Newb question on IB outlet assignments M. Carlson Mar 6, 05:22
mlRe: Newb question on IB outlet assignments Steven Hatfield Mar 6, 17:03
mlRE: Newb question on IB outlet assignments M. Carlson Mar 6, 23:05
mlRe: Newb question on IB outlet assignments Christiaan Hofman Mar 6, 23:13
mlRE: Newb question on IB outlet assignments M. Carlson Mar 6, 23:22
mlRe: Newb question on IB outlet assignments Christiaan Hofman Mar 6, 23:41
mlRE: Newb question on IB outlet assignments M. Carlson Mar 7, 00:12