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 Tutorial


Post Reply New Thread Subscribe

 
Thread Tools
JohnEH

 
Member Since: Aug 17, 2012
Posts: 7
JohnEH is on a distinguished road

JohnEH is offline
Ref:Tutorial: Using Xcode to Write “Hello, World!” for OS X.
Source: http://developer.apple.com

Problem: I don't know what to enter in the Class dialogue in step 3 of the ref.
Ver: Xcode 4.4.1

Step 3. "Specify That the new file is a subclass of NSView, and click next:

The example window has one dialogue box while Xcode4 on my system has two dialogue boxes.

The "Next" button would NOT become active until The Class dialogue box had an entry.
JohnEH
QUOTE Thanks
Raz0rEdge

 
Raz0rEdge's Avatar
 
Member Since: Jul 17, 2009
Location: MA
Posts: 7,569
Raz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant future
Mac Specs: 27" i7 iMac, 24" iMac, 13" Macbook Air, iPhone 5 & 5S, iPod Nano 7th Gen, iPad 2 16GB WiFi, iPad 3

Raz0rEdge is offline
Put the class name in one box and NSView in the other box..

--
Regards
...Ashwin



Be sure to read the Community Guidelines | The more information you provide, the better answers you get, remember GIGO.
QUOTE Thanks
JohnEH

 
Member Since: Aug 17, 2012
Posts: 7
JohnEH is on a distinguished road

JohnEH is offline
The questions is: what is the Class Name to enter in the Class dialogue box??
QUOTE Thanks
JohnEH

 
Member Since: Aug 17, 2012
Posts: 7
JohnEH is on a distinguished road

JohnEH is offline
Quote:
Originally Posted by JohnEH View Post
Ref:Tutorial: Using Xcode to Write “Hello, World!” for OS X.
Source: http://developer.apple.com

Problem: I don't know what to enter in the Class dialogue in step 3 of the ref.
Ver: Xcode 4.4.1

Step 3. "Specify That the new file is a subclass of NSView, and click next:

The example window has one dialogue box while Xcode4 on my system has two dialogue boxes.

The "Next" button would NOT become active until The Class dialogue box had an entry.
JohnEH
NEW: The questions is: what is the name of the class name to enter into the class dialogue box???
QUOTE Thanks
Raz0rEdge

 
Raz0rEdge's Avatar
 
Member Since: Jul 17, 2009
Location: MA
Posts: 7,569
Raz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant future
Mac Specs: 27" i7 iMac, 24" iMac, 13" Macbook Air, iPhone 5 & 5S, iPod Nano 7th Gen, iPad 2 16GB WiFi, iPad 3

Raz0rEdge is offline
The Class name is whatever (MySuperDuperClass for example) you want to call your custom class, in the Subclass of portion you want to put in "NSView" since that's what you are trying to subclass..

--
Regards
...Ashwin



Be sure to read the Community Guidelines | The more information you provide, the better answers you get, remember GIGO.
QUOTE Thanks
JohnEH

 
Member Since: Aug 17, 2012
Posts: 7
JohnEH is on a distinguished road

JohnEH is offline
Quote:
Originally Posted by Raz0rEdge View Post
The Class name is whatever (MySuperDuperClass for example) you want to call your custom class, in the Subclass of portion you want to put in "NSView" since that's what you are trying to subclass..

Thanks as I had expected but couldn't confirm in my 3 books. JohnEH
QUOTE Thanks

Post Reply New Thread Subscribe


« AppleScript issue | How to wrap display and wrap images in a scroll view »
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
FLTK and Xcode 4 Bubbagump00 OS X - Development and Darwin 0 03-19-2012 01:07 PM
Weird file sizes in Finder slapple OS X - Operating System 23 01-26-2012 11:12 AM
AppStore won't realize Xcode is Up-to-Date alexhaj OS X - Apps and Games 0 08-08-2011 05:40 PM
Xcode refuses to launch after first launch. Havoc93 OS X - Development and Darwin 2 08-24-2010 02:51 PM
stuck following cocoa / xcode tutorial majik OS X - Development and Darwin 1 06-30-2008 03:39 PM

All times are GMT -4. The time now is 12:03 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?