How to Change Default Copyright Template

北战南征 提交于 2019-12-09 09:50:01

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!