Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Topic: InterfaceBuilder: NSButton Has No "target" Outlet

Topic: InterfaceBuilder: NSButton Has No "target" Outlet
Thread Tools
Forum Regular
Join Date: Jun 2001
Location: Canada
Status: Offline
Reply With Quote
Feb 1, 2004, 05:03 PM
 
I've been interested in learning Cocoa for some time, so I decided to download Apple's "Developing Cocoa Objective-C Applications: A Tutorial".

I believe I have followed all the steps correctly in creating the CurrencyConverter window in InterfaceBuilder. For whatever reason, though, my "Convert" button doesn't have a "target" outlet (only formatter, menu, and nextKeyView), so I can't connect it to my ConverterController instance.

Have I missed a step or something obvious, or is there something wrong with my installation of the developer tools?
(Last edited by Mac The Fork; Feb 1, 2004 at 06:54 PM. )
     
Addicted to MacNN
Join Date: Nov 2002
Location: Seattle, WA
Status: Offline
Reply With Quote
Feb 1, 2004, 08:57 PM
 
if you're using XCode, the layout of the IB panels is a little different than what's (probably) in the documentation. Right above where you're looking there's a thing (what used to be a tab before 10.3 came along) where you switch to "Target/Action" instead of "Outlets"
     
Forum Regular
Join Date: Jun 2001
Location: Canada
Status: Offline
Reply With Quote
Feb 2, 2004, 10:56 AM
 
Ah, I see. The tutorial I downloaded is supposed to be for Xcode, but those specific instructions are for the old InterfaceBuilder. Thank you very much. That had me quite worried. I'll try to contact someone about the mistake.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:55 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2