New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Interface Builder Help


Thread Closed

 
Thread Tools
LoneWolfPR

 
Member Since: Jun 01, 2009
Posts: 1
LoneWolfPR is on a distinguished road

LoneWolfPR is offline
I feel like a total dummy. I'm very new to xcode/interface builder development. I've done a bunch of other development though so I'm not some total newb. However, Interface Builder is defeating me. All I want to know how to do is change the instance name of a Text Field I dragged onto a window. They all seem to be called NSTextField(0). However, for the life of me, I can't figure out how to change that. I'm in XCode 2.5 on OS X 10.4. Thanks.
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
As far as I know, you can't set a name for an IB screen object.

I think you mean the outlet name. That is done by dragging from the screen object to a controller object that appears in the nib window that holds those values. What you are doing is associating the screen object with a variable in the controlling object that will communicate with your screen object.

Perhaps there is a clue at cocoadevcentral.com. I think this 2nd of two tutorials is what you are interested in. The bonus is this tutorial looks to be from your version of the dev tools.

(If you mean you want the class to be some other non standard class, then you have to create a subclass in your project, read the class files in via the File menu on IB, and then change the class identity via the info panel for the textfield on the window. Well, that is in IB 3.1.2. I can't recall the details for your version.)

I recommend Cocoa(R) Programming for Mac(R) OS X, by Aaron Hillegass. You want the second edition, as the third edition released last year is for the newer version of the tools which look and act differently.

CameraTime - Time lapse photography for novice and advanced users.

When asking questions, post the version of your software. You'll receive better answers.

Please post your results to the thread as it is good feedback.

Thread Closed


« problem with using gcc | Java drag and drop woes »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting 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 Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Edit Open/Save dialogs in interface builder? alho0001 OS X - Development and Darwin 0 01-28-2008 08:42 PM
Interface builder: bluetooth file exchange "browse files" window alho0001 OS X - Development and Darwin 0 01-28-2008 08:33 PM
Interface Builder won't open files Mars OS X - Apps and Games 1 11-11-2005 12:20 PM
Mimicing Interface Builder behavior themabbit OS X - Development and Darwin 0 08-17-2004 06:09 PM

All times are GMT -4. The time now is 03:48 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?