iOS开发常用快捷键

来源:互联网 发布:株洲市工商局网络核名 编辑:程序博客网 时间:2024/05/13 07:00

Xcode:

Command+Shift+N 快速创建project

Command+N 快速创建文件

Command + Alt + N = 快速创建组(文件夹)

 

Command + 0,  hide/show navigationBar

Command + alt + 0,  hide/show utilitiesBar

Command + shift + Y,  hide/show debugArea

Command+enter 关闭辅助视图

Command+option+enter 开启辅助视图

 

Command + [,代码缩进

Control + I ,  对齐代码

Command + F当前页搜索关键字

Command + Shift + F 工程内搜索关键字

Command+shift+k 替换资源后最好Product Clean

Command + L 跳转到指定行

Command + shift + o 快速打开

Command + shift + j 快速定位

 

Ctrl+ command + e 批量修改名字

Command + shift + B Analyze. Can detect memory leak(然并卵)

alt + command + =  AutoLayout的update frame

Command + option + (shift) + leftarrow/ rightarrow 展开/收起代码块

 

iPhone Simulator:

Command+shift+k 打开/关闭硬件键盘

Command + -> 模拟器向右翻转

Command + S 模拟器截图

Command + 1/2/3 改变模拟器尺寸

 

MAC:

Command + ~ 在多个打开的xcode project中切换

Command+shift+G, 前往文件夹

Command+option+escape, 强制退出

Command+option+I   chrome浏览器下打开Chrome 开发者工具


0 0