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

seriypshick

macrumors member
Original poster
Apr 4, 2005
76
0
Everywhere
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.
 

logicat2001

macrumors regular
Apr 16, 2003
192
0
Minneapolis, MN
seriypshick said:
Is there a way to add file templates in Xcode?...Is there I can add my own template?
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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.