如何更改默认版权模板

发布于 2024-07-12 06:21:49 字数 264 浏览 6 评论 0原文

每当我在 xcode 中创建一个新文件时,它都会在文件顶部放置类似的内容:

//  Copyright __MyCompanyName__ 2008.  All rights reserved.

如何将其更改为有用的内容?

更新:在这里找到答案

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

窗影残 2024-07-19 06:21:49

从 Xcode 3 开始,它将使用地址簿卡中的“公司”字段。

As of Xcode 3, it will use the "company" field from your Address Book card.

浮萍、无处依 2024-07-19 06:21:49

请按照以下步骤更改版权:

在此处输入图像描述

注意:此更改适用于您创建的新文件,因此您需要更新之前手动创建的文件。

Follow these steps to change the copyright:

enter image description here

Note: The change is for new files that you create, so you will need to update the ones that had been previously created manually.

爱你是孤单的心事 2024-07-19 06:21:49

从 Xcode 6.1.1 开始,可以通过单击项目视图中的主 .xcodeproj 文件(蓝色的)来更改此设置。 右侧面板有一个名为“组织”的字段,将用于版权模板。 该面板可能是隐藏的,可以通过右上角的按钮使其可见。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文