
1、将Secure Text Entry勾选就能将密码改为不可见如

2、cmd+shift+h相当于按模型机的home键进入后台
3、cmd+k打开键盘
4、Xcode9之前版本代码折叠:
在Xcode菜单里选择Preference——Text Editing,你会发现里面有一个“code folding ribbon”,勾选它就能恢复代码折叠功能了。
然后通过菜单Editor——Code Folding,你就可以使用你需要的折叠功能。
局部折叠(折叠一个函数) :Command+Option+Left/Right
安卓键盘是cmd+alt+Left/Right
全局折叠(折叠当前文件下的全部函数):Shift+Command+Option+Left/Right
折叠注释块:(/* /之间的文字) : Ctrl+Shift+Command+Left/Right
5./*
<#Description#>
*/
特殊注释:cmd+option+/
6.创建通用型号
self.window = [[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds];
self.window.rootViewController = [[<#Type#> alloc]init];
[self.window makeKeyAndVisible];
右键点击creat code snippet
封装代码快
self.window.rootViewController = [[<#Type#>alloc]init];
- 关于模拟器键盘弹出问题如果键盘不出来的话,解决办法:点开iOS模拟器,Hardware -> Keyboard -> Toggle Software keyboard.

shift+command+g前往文件路径窗口

网友评论