Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

licause

macrumors newbie
Original poster
Aug 12, 2015
2
0
I have installed V6.4 of Xcode on my Mac Pro, running OS X v10.10.4. I am currently attempting to work
through the first programming example called TrackMix from this URL:

https://developer.apple.com/library...rstApp_Mac/Articles/ImplementingtheTrack.html

I've struggled with new terminology and my poor vision trying to get through this example and after deleting and restarting the exercise at least half a dozen times now, I am to the point where I am ready to enter the section entitled
Create Header and Implementation Files for the Track Class

When I set highlight the TrackMix directory in the navigator on the left and then go to File > New > File, I am not seeing the same contents as indicated in the example. It says to select the Cocoa template under the OS X section and then select Objective-C class. But I am not finding these options when prompted to choose a template.

The options I see under OS X are Source, user Interface, Core Data, Resource and Other.

I suspect I've done something incorrectly or am possible missing something that is not yet installed as to what I've found so far.....but I am at a loss as to what i've done wrong or have not installed.

Any help or recommendations would be greatly appreciated.
 
Apple tweaks the UI of its New File assistant more often than it updates its tutorials so things aren't going to match exactly if you follow the tutorial. To add an Objective-C class to a Cocoa application project, choose Cocoa Class, which is in the Source section under OS X. Click the Next button. Choose Objective-C from the Language menu. Xcode will create both the header (.h) and implementation (.m) files for you.
 
Apple tweaks the UI of its New File assistant more often than it updates its tutorials so things aren't going to match exactly if you follow the tutorial. To add an Objective-C class to a Cocoa application project, choose Cocoa Class, which is in the Source section under OS X. Click the Next button. Choose Objective-C from the Language menu. Xcode will create both the header (.h) and implementation (.m) files for you.

Mark...thanks very much. I created the new files as you instructed and i'll proceed with the example.
Greatly appreciated !

Al
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.