Not finding correct categories when creating files in Xcode...

Discussion in 'Mac Programming' started by licause, Aug 12, 2015.

  1. licause macrumors newbie

    Joined:
    Aug 12, 2015
    #1
    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.
     
  2. szymczyk macrumors regular

    Joined:
    Mar 5, 2006
    #2
    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.
     
  3. licause thread starter macrumors newbie

    Joined:
    Aug 12, 2015
    #3
    Mark...thanks very much. I created the new files as you instructed and i'll proceed with the example.
    Greatly appreciated !

    Al
     

Share This Page