Xcode 菜單功能說明
?File文件
Edit編輯
View視圖
Find查找
Navigate導(dǎo)航
Editor編輯
Product產(chǎn)品
Debug調(diào)試
Source Control源代碼管理
Window窗口
Help幫助
File文件
New新建
New Tab 新標簽
New Window 新窗口
New File 新文件
New Target…??新目標
New Project… 新項目
New Workspace…新的工作區(qū)
New Group新組
New Group from Selection從選擇中建立新組
Open打開
Open Recent打開最近的
Open Quickly快速打開
Close Window關(guān)閉窗口
Close Tab關(guān)閉標簽
Close "filename.-"關(guān)閉當前文件
Close Project關(guān)閉項目
Save保存
Save As 另存為
Revert還原
Unlock開鎖
Show in Finder在Finder中顯示
Open with External Editor使用外部編輯器打開
Save As Workspace另存為工作組
Project Settings…項目設(shè)置
Source Control源代碼管理
Commit提交
Push??推
Pull??拉
Merge合并
Discard Changes放棄更改
Add添加
Ignore放棄
Mark as Resolved標記為已解決
Refresh Status刷新狀態(tài)
Hide Remote Status隱藏遠程狀態(tài)
Repositories… 庫
Create Snapshot…創(chuàng)建快照
Page Setup頁面設(shè)置
Print…打印
Edit編輯
Undo還原
Redo重做
Cut剪切
Copy復(fù)制
Paste粘貼
Special Paste特殊粘貼
Paste and Match Style粘貼并匹配樣式
Duplicate復(fù)制
Delete替換
Select All選擇全部
Find查找
Find in Workspace…在工作組中查找
Find and Replace in Workspace…在工作組中查找和替換
Find查找
Find and Replace查找和替換
Find Next查找下一個
Find Previous查找上一個
Replace替換
Replace All替換全部
Replace and Find Next替換和查找下一個
Replace and Find Previous替換和查找上一個
Hide Find Bar隱藏查找欄
Use Selection for Find使用查找選擇
Use Selection for Replace使用替換選擇
Filter篩選
Filter in Navigator在navigator中篩選
Filter in Library在庫中篩選
Format 格式化
Font字體
Text文本
Spelling and Grammar拼寫語法
Substitutions
Transformations轉(zhuǎn)換
Speech
Refactor重構(gòu)
Rename 重命名
Extract提取
CreateSuperclass創(chuàng)建超類
Move Up上移
Move Down下移
Encpsulate封裝
Special Characters特殊字符
View視圖
Navigators導(dǎo)航
Project項目
Symbol符號
Search搜索
Issue
Debug調(diào)試
Breakpoint斷點
Log日志
Hide Navigator隱藏導(dǎo)航欄
Editor ?編輯
Standard標準
Assistant助理
Version版本
Show Related Items顯示相關(guān)信息
Show Previous Files History顯示上一個文件的歷史
Show Next Files History顯示下一個文件的歷史
Show Top Level Items顯示頂級項目文件
Show Group Files顯示群組文件
ShowCocumentItems
Show Issues顯示問題
Add Assistant Editor卸載輔助編輯器
Remove Assistant Editor
Reset Editor充值編輯器
Assistant Layout輔助工具布局
Assistant Editors on Right輔助工具在右側(cè)
Assistant Editors on Bottom輔助工具在地步
All Editors Stacked Horizontally所有編輯橫排
All Editors Stacked Vertically所有編輯豎排
Utilities實體工具
File Inspector文件檢測
Quick Help快速幫助
Identity Inspector身份檢測
Attributes Inspector屬性檢測
Size Inspector大小檢測
Connections Inspector連接檢測
File Template Library文件模板庫
Code Snippet Library代碼片段庫
Object Library??對象庫
Media Library??媒體庫
Hide Utilities隱藏實體工具
Hide Toolbar隱藏工具欄
Hide Tab Bar隱藏標簽欄
Show Debug Area顯示調(diào)試區(qū)
Navigate導(dǎo)航
Reveal in Project Navigator在項目揭示導(dǎo)航
Reveal in Symbol Navigator在符號揭示導(dǎo)航
Open in Adjacent Editor在相鄰編輯打開
Open in ..打開
Move Focus To Next Area將焦點移動到下一個區(qū)域
Move Focus To Previous Area移動焦點至前區(qū)
Move Focus To Editor將焦點移動到編輯器
Go Forward前進
Go back后退
Jump to Selection跳轉(zhuǎn)到選擇
Jump to Definition跳轉(zhuǎn)到定義
Jump to Next Issue跳轉(zhuǎn)到下一個問題
Jump to Previous Issue跳轉(zhuǎn)到上一個文件
Jump to Next Object with Clipped Content跳轉(zhuǎn)到下一個對象剪切的內(nèi)容
Jump to Previous Object with Clipped Content跳轉(zhuǎn)到上一個對象剪切的內(nèi)容
Editor編輯
Canvas畫布
Show Bounds Rectangles顯示邊界矩形
Show Layout Rectangles布局矩形
Snap to Guides捕捉指南
LiveAutoresizing實時自動調(diào)整
Graph Paper???方格紙
Checkers??棋盤格
White白色
Gray灰色
Alignment對準
Align Left Edges左邊緣對齊
Align Right Edges右邊緣對齊
Align Top Edges頂部邊緣對齊
Align Bottom Edges底部邊緣對齊
Align Horizontal Centers橫向中心對齊
Align Vertical Centers豎向中心對齊
Align Baselines基線對齊
Align Horizontal Center In Container對齊容器中的水平中心
Align Vertical Center In Container對齊容器中的垂直中心
Arrangement排版
Send to Front發(fā)送到頂層
Send to Back發(fā)送備份
Send Forward發(fā)送前進
Send Backward下移一層
Embed嵌入
Unembed解除嵌入
Size to Fit大小以適合
Add Horizontal Guide添加橫向指南
Add Vertical Guide添加垂直指南
Reveal in Document Structure顯示在文檔結(jié)構(gòu)
Simulate Document模擬文檔
Product產(chǎn)品
Run運行
Test測試
Profile解析
Analyze分析
Archive存檔
Build For建立
Build For Running建立運行
Build For Testing建立測試
Build For Profiling建立用于分析
Build For Archiving建立以存檔
Perform Action執(zhí)行行動
Run Without Building沒有建設(shè)運行
Test Without Building沒有建立測試
Profile Without Building沒有建立解析
Build建立
Clean清除
Stop停止
Debug調(diào)試
Pause暫停
Step Into步入
Step Over跨越
Step Out走出
Step Into Thread單步執(zhí)行成線
Step Into Instruction步入指示
Step Over Thread單步執(zhí)行在線程
Step Over Instruction跨過指示
AddBreakPointat Current Line在當前行添加斷點
Deactivate Breakpoints停用中斷點
Shared Libraries??共享庫
Clear Console清除控制臺
Window Behavior窗口行為
Normal正常
XcodeBehindXcode的背后
XcodeIn FrontXcode在前面
Attach to Process附加到進程
Edit Scheme編輯計劃
New Scheme???新計劃
Manage Schemes管理計劃
xcode常用快捷鍵
command + 1~7
command + 1:快速瀏覽視圖
command + 7:設(shè)置全局斷點,
command + 0:隱藏或顯示左邊側(cè)欄
command + b:編譯
command + r:運行
command + shift + b:檢測內(nèi)存是否泄露analyze
command + q:退出xcode
command + Option + 0:實用工具面板主要用于編譯用戶界面文件時,在只考慮寫代碼的時候隱藏
command + shift + 0:調(diào)出幫助文檔
command + n:新建文件
command + shift + 1:新建一個工程
command + i :調(diào)出instrument
Option + left_click:創(chuàng)建一個分欄顯示另外一個文件視窗
command + shift + Y:隱藏或現(xiàn)實
command + Option +回車:顯示當前的視圖關(guān)聯(lián)的類
command +回車:隱藏當前的視圖關(guān)聯(lián)的類
command + Option +左鍵/右鍵:收縮/展開代碼.注意不要一直收縮或展開,不然xcode會
command + / :注釋當前行/解開當前行注釋
command + delete:刪除當前行
command + z:回退
command + shift + z :撤銷回退
command + shift + k:清除緩存
command + Option + = :根據(jù)約束,更新約束
command + Option + shift + =:根據(jù)位置,更新約束
command + , (逗號):調(diào)出xcode偏好設(shè)置
command + y:讓當前行斷點活躍或不活躍狀態(tài)(只有當前行有斷點才有效果)
command + . (點):停止運行程序
command + Option + c: commit代碼
command + Option + X:更新代碼
command + shift + 2:調(diào)出調(diào)式設(shè)備界面管理
command + ~:切換xcode工程界面
command + s:保存代碼
command + controller +上下:在類中切換.m文件和.h文件
command + controller + space:調(diào)出emjio鍵盤
command + /:打一個斷點
新建項目? ? com + shift +N
新建文件 ? ?com ?+ N
偏好設(shè)置 ?通用 ? com + ,
跳到指定行 com + L
當前行加斷點 ? ?com + \
移動編輯區(qū)最上方 ? com + ?上
移動編輯區(qū)最下方 ? com + ?下
移動光標所在行最左邊 ? com + ? 左
移動光標所在最右邊 ? com + ? 右
向前/后跳一個單詞 ?option + 左&右
向前刪除一個單詞 ? option + delete
刪除光標所在行后面的所有字符 ?control + K
打開過的文件之間切換 ?com + option + 左&右
當前文件的.h .m之間切換 ? com + control ?+ 上&下
代碼排版 control + i ? ?或com + X 和 com + V
選中當前行 ?com + shift + 左&右
取消選中 ?左&右
選中當前作用域的局部變量 ? com +control + E
導(dǎo)航區(qū)切換 ?com +1,….8
組件區(qū)切換 com + option + 1…5
關(guān)閉或打開左邊的導(dǎo)航區(qū) ?com + 0
關(guān)閉或打開右邊的組件屬性區(qū) com + option + 0
DeBug區(qū)視圖 ?打開關(guān)閉 ? com + shift + Y
清理 控制臺 ?com ?+ K
打開控制臺窗口 ? com + shift + C
全局激活或禁用斷點 ? com + Y
Xcode 全屏 ? com + control + F
運行程序 ?com + R
停止程序 ?com + .
編譯程序 com ?+ B
靜態(tài)分析 ?com + shift + B