"磨刀不费砍材工",在熟悉了MAC 和 Xcode 快捷键后一定可以帮助我们更快捷方便的开发程序
MAC 快捷键:
command + Q = 退出应用程序
command + control + Eject =重启
command + W = 关闭窗口
command + option + Eject = 睡眠
command + A = 全选
command + option + control +Eject = 关机
command + S = 保存
command + shift + control + Q = 注销
command + C = 拷贝
command + shift + 3 = 截桌面屏
command + V = 粘贴
command + shift + 4 = *截屏
command + delete = 删除
command + [ = 左缩进
command + i = 显示文件夹简介
command + ] = 右缩进
command + M = 窗口最小化
command + Tab = 切换应用
Xcode 快捷键:
command + R = 运行
command + U = 测试
command + i = 性能分析
command + shift + B = 代码分析
command + . = 终止
command + K = 清空
command + T = 新建标签
command + W = 关闭标签
command + shift + } = 下一个标签
command + shift + { = 前一个标签
调试:
command + control + Y = 暂停
F6 = 步进
F7 = 跳入
F8 = 跳出
导航面板:
command + 1 = 项目
command + 2 = 符号
command + 3 = 搜索
command + 4 = 问题
command + 5 = 调试
command + 6 = 断点
command + 7 = 日志
command + shift + Y =显示/隐藏调试区域
command + option + O = 显示/隐藏工具区域
command + O = 显示/隐藏导航面板
下面附上一张Xcode快捷键图片: