问题
Whenever I make a new file in xcode, it puts something like this at the top of the file:
// Copyright __MyCompanyName__ 2008. All rights reserved.
How can I change that to something useful?
Update: found the answer here.
回答1:
As of Xcode 3, it will use the "company" field from your Address Book card.
回答2:
Follow these steps to change the copyright:
Note: The change is for new files that you create, so you will need to update the ones that had been previously created manually.
回答3:
As of Xcode 6.1.1 this can be changed by clicking on the main .xcodeproj file in the project view (the blue one). The right panel has a field called 'Organization' that will be used for the copyright template. This panel may be hidden, and can be made visible with a button in the upper right corner.
来源:https://stackoverflow.com/questions/411653/how-to-change-default-copyright-template