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

Michael H

macrumors newbie
Original poster
Jan 26, 2008
22
0
How do you change the default of comments at top of header in .m .h files:

Create by

&

_MyCompanyName_

to display your own personal info as default instead of changing it every time manually
 
Fire up Terminal.app then enter this on a single line:

Code:
defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions '{"ORGANIZATIONNAME"="My Cool Company";}'

Then I think you'd need to restart Xcode. Subsequently created projects will inherit this.
 
xcode reads the info you supplied when you set up your computer which is stored in your user account's address book card. so to change the info comments at the top of the classes:

System Preferences > Accounts > Address Book Card (Open) > Edit
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.