Xcode Tutorial

Joined
Aug 17, 2012
Messages
7
Reaction score
0
Points
1
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
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,765
Reaction score
2,106
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
Put the class name in one box and NSView in the other box..
 
OP
J
Joined
Aug 17, 2012
Messages
7
Reaction score
0
Points
1
Class Name

The questions is: what is the Class Name to enter in the Class dialogue box??
 
OP
J
Joined
Aug 17, 2012
Messages
7
Reaction score
0
Points
1
Class Name

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???
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,765
Reaction score
2,106
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
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..
 
OP
J
Joined
Aug 17, 2012
Messages
7
Reaction score
0
Points
1
Thanks

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
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top