Is there a way to add file templates in Xcode?

Discussion in 'Mac Programming' started by seriypshick, Sep 2, 2005.

  1. seriypshick macrumors member

    seriypshick

    Joined:
    Apr 4, 2005
    Location:
    Everywhere
    #1
    Is there a way to add file templates in Xcode?
    I'm learning Objective-C right now and it seems like I allways have to add the same code.

    Is there I can add my own template?

    Thx, Serg.
     
  2. logicat2001 macrumors regular

    Joined:
    Apr 16, 2003
    Location:
    Minneapolis, MN
    #2
    Well, you can check the following:
    "/Library/Application Support/Apple/Developer Tools/Target Templates/"

    That's where templates are stored on this machine, 10.4 w/XCode 2.1. However, I also came across another bit of documentation that elaborated, but I cannot find it now. For sure, the path above is where I've customized all the appropriate XCode templates for myself, and it works just fine.

    Consider saving a copy of this directory, just to have a backup of the originally installed docs.

    Best,
    Logicat
     

Share This Page