注册 登录
主题 : 苹果对“Naming Your Product Module”的定义
级别: 风云使者

状态: 连续签到 - [480天]
UID: 78198
精华: 2
发帖: 3543
可可豆: 3376 CB
威望: 13237 点
在线时间: 4900(时)
注册时间: 2011-06-28
最后登录: 2017-10-23
0 楼:  发表于: 2014-06-04 17:33    发自: Web Page

苹果对“Naming Your Product Module”的定义   

管理提醒: 本帖被 lyywhg 从 苹果开发者综合议事大厅 移动到本区(2014-06-04)

The name of the Xcode-generated header for Swift code, and the name of the Objective-C bridging header that Xcode creates for you, are generated from your product module name. By default, your product module name is the same as your product name. However, if your product name has any nonalphanumeric characters, such as a period (.), they are replaced with an underscore (_) in your product module name. If the name begins with a number, the first number is replaced with an underscore.
You can also provide a custom name for the product module name, and Xcode will use this when naming the bridging and generated headers. To do this, change the Product Module Name build setting.


微信whglyy
描述
快速回复

关注本帖(如果有新回复会站内信通知您)

发帖、回帖都会得到可观的积分奖励。查看论坛积分规则

按"Ctrl+Enter"直接提交
    顶部