#pragma mark-command系列
command + 1-8 分別對應Xcode最左側(cè)項目目錄最上面的八個功能
command + 0 隱藏Xcode最左側(cè)導航欄
command + A?全選
command + B 編譯
command + C 復制
command + F 當前文件查找
command + G 查找下一個元素
command + H 隱藏當前窗口
command + I 工具選項,可以查看app 性能
command + J 焦點切換
command + K 清除控制臺打印
command + L 輸入行號,定位到行號所在行
command + M 最小化
command + N 新建一個類文件
command + O 打開當前文件所在的系統(tǒng)目錄
command + Q 關閉
command + R 運行
command + S 保存
command + T 創(chuàng)建新的Tab
command + U 測試
command + V 粘貼
command + W 關閉當前window
command + Y 全局激活或禁用所有的斷點
command + Z 撤銷
command + [ 向前縮進
command + ] 向后縮進
command + \ 當前行設置/取消斷點
command + / 注釋光標所在行
command + . ?停止運行
command + , ?Xcode屬性
command + < 編輯scheme
command + ↑ 光標移到文件首行
command + ↓ 光標移到文件末行
command + ← 光標移到行首
command + → 光標移到行末
command + left-click 快速去到當前方法的位置
#pragma mark-command+shift系列
command + shift +0 文檔和參考
command + shift + F 全局查找 = command + 3
command + shift + J 在最左側(cè)項目導航中,定位當前類文件
command + shift + K 清除工程
command + shift + N 新建工程
command + shift + O 快速查找工程內(nèi)的內(nèi)容
command + shift + Y 顯示/隱藏控制臺
command + shift + S 另存為
#pragma mark-command+option系列
command + option + 1/2 最右端導航欄的兩個功能模塊
command + option + 0 顯示/隱藏實用工具面板
command + option + ← 折疊某一函數(shù)或條件分支
command + option + → 展開某一函數(shù)或條件分支
command + option + [ 向上移動此行
command + option + ] 向下移動此行
#pragma mark-command+control系列
command + control + ↑ 切換當前類的.h/.m文件
command + control + ↓ 切換當前類的.h/.m文件
#pragma mark-control系列
control + 6 查看當前類的所有方法列表
control + A 移動光標到本行行首
control + B 前移光標
control + D 刪除光標右邊的第一個字符
control + E 移動光標到本行行末
control + F 后移光標
control + K 刪除光標所在行的后半部分
control + L 將插入點置于窗口正中
control + N 移動光標到下一行
control + P 移動光標到上一行
control + T 交換光標左右兩邊的字符
#pragma mark-option系列
option + ← 光標移到上一個單詞頭部
option + → 光標移到下一個單詞尾部