Xcode

作者: 小D修行笔记 | 来源:发表于2019-08-07 15:15 被阅读0次

1、快捷键

Command + R 编译&链接&运行
Command + B 编译&链接
Control + i 格式对齐
Command + = 自动调整内容大小(Size to Fit Content)
Command + ] 选中代码下移一行
Command + [ 选中代码上移一行

2、显示欢迎界面

window-->Welcome to Xcode

3、创建一个新的项目

Create a new Xcode project
iOS
macOS Command Line Tool -->命令行程序

4、项目信息

项目名称-- product Name
开发团队--Team
组织名称--Organization Name
组织标识--Organization Identifier
绑定的唯一标识--Bundle Identifier
开发语言--Language

5、界面信息

左侧-- 源代码导航区
中间--代码编辑区
右侧--属性检查区
下方--控制台输出区

6、偏好设置

Xcode--Preference
--设置字体和颜色(Font&Colors)
---- SourceEditor--设置编辑器的字体和颜色
----Console--设置控制台的字体和颜色
--设置文本信息(Text Edition)
----Editing
------Line numbers 显示行号
------suggest completion是while typing 智能提示

7、类前缀

Class Prefix -- 用来区分类

相关文章

网友评论

      本文标题:Xcode

      本文链接:https://www.haomeiwen.com/subject/dwiodctx.html