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.

XCODE 3; what do IBAction and IBOutlet mean?


Post Reply New Thread Subscribe

 
Thread Tools
glossywhitemac

 
Member Since: Feb 09, 2008
Posts: 30
glossywhitemac can only hope to improve

glossywhitemac is offline
Hi - I think I may have worked this out, but I am not sure yet:

I am using XCODE 3 (and LOVING it!) to experiment with writing Apps. I think I can deduce that the "IB" in "IBOutlet" stands for "Interface Builder" - am I correct?. If this is so, then what does the "NS" in "NSButton" stand for please?.

I would find it much easier if I knew what these first TWO letters meant, so that I may program in the correct context.

Thanks!!
QUOTE 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
Yes, IB stands for interface builder. NS stands for NextStep, the precursor to OpenStep which is the precursor of OS X.

You might find it easier to know what the letters mean, but is it relevant to getting work done. If you create you own library perhaps you would make the starting letters GWM for glossywhitemac.
QUOTE Thanks
glossywhitemac

 
Member Since: Feb 09, 2008
Posts: 30
glossywhitemac can only hope to improve

glossywhitemac is offline
Quote:
Originally Posted by xstep View Post
Yes, IB stands for interface builder. NS stands for NextStep, the precursor to OpenStep which is the precursor of OS X.

You might find it easier to know what the letters mean, but is it relevant to getting work done. If you create you own library perhaps you would make the starting letters GWM for glossywhitemac.
Your input has confirmed my suspicions; I know it wasn't exactly Sherlock Holmes stuff, but I just needed the confirmation; thanks!.

PS: If OpenStep is more recent than NextStep, then surely it would have been more logical to have:

OSBeep(); instead of NSBeep(); hmmmm
QUOTE 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
Sure, but then people who had coded NSBeep() would have had to convert all of their code. Although there were changes between the two libraries, there were likely many things that were not changed, so it was easier to continue to use the NS prefix and not add that extra hassle.
QUOTE Thanks
glossywhitemac

 
Member Since: Feb 09, 2008
Posts: 30
glossywhitemac can only hope to improve

glossywhitemac is offline
Quote:
Originally Posted by xstep View Post
Sure, but then people who had coded NSBeep() would have had to convert all of their code. Although there were changes between the two libraries, there were likely many things that were not changed, so it was easier to continue to use the NS prefix and not add that extra hassle.
Ahh yes this is true - granted, entire source code changes would be annoying JUST for the sake of updating the initials!. . I am sure that Microsoft should be giving away Visual Studio with Windows, also... actually, why don't they just give away Windows AND the source code too, and cut their losses?.
QUOTE Thanks

Post Reply New Thread Subscribe


« OSX - Cannot startup after aborting Win OS installation in Bootcamp | How to run more than one programs in single plist through launchd »
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

All times are GMT -4. The time now is 10:25 AM.

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?