Skip navigation.
 
mlRe: Newb question on IB outlet assignments
FROM : Steven Hatfield
DATE : Thu Mar 06 17:03:00 2008

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
>
>
>
>
>
> _________________________________________________________________
>
> Climb to the top of the charts! Play the word scramble challenge 
> with star power.
>
> http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan_______________________________________________
>
>
> MacOSX-dev mailing list
>
> <email_removed>
>
> http://www.omnigroup.com/mailman/listinfo/macosx-dev
>
>
>
>
> _________________________________________________________________
> Shed those extra pounds with MSN and The Biggest Loser!
> http://biggestloser.msn.com/_______________________________________________
> MacOSX-dev mailing list
> <email_removed>
> http://www.omnigroup.com/mailman/listinfo/macosx-dev

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