xcode 快捷_您必须知道的Xcode快捷方式
xcode 快捷
Knowing the Xcode shortcuts would improve your speed and boost your productivity. Today, we will be discussing some of the commonly used shortcuts.
了解Xcode快捷方式将提高您的速度并提高生产力。 今天,我们将讨论一些常用的快捷方式。
- ⌘ – Command⌘–命令
- ⇧ – Shift⇧–移位
- ⌥ – Option/Alt⌥–选项/替代
- ⌃ – Control⌃ –控制
- ⇠⇢ – Left/Right Arrow Keys⇠⇢–左/右箭头键
- ⇡⇣ – Up/Down Arrow Keys⇡⇣–向上/向下箭头键
- ⏎ – Return⏎–返回
- ⇥ – Tab⇥– Tab
- ⎋ – Escape⎋–逃生
基本捷径 (Basic Shortcuts)
Here’s a list of a few basic shortcuts that we all need to know:
这是我们都需要知道的一些基本快捷方式的列表:
- Build: ⌘B内部版本: ⌘B
- Run: ⌘R运行: ⌘R
- Test: ⌘U测试: ⌘U
- Stop: ⌘.停止: ⌘。
⌘ + K is used to do a basic clean
⇧ + ⌘ + K is used to do a complete clean of all build files. This is used when your environment starts to behave weirdly
K + K用于基本清洁
⇧+⌘+ K用于完全清除所有构建文件。 当您的环境开始出现异常行为时使用
Let’s next look at some Workspace Shortcuts:
接下来让我们看一些工作区快捷方式:
工作区快捷方式 (Workspace Shortcuts)
Hide/Show Navigation Area :⌘ + 0
隐藏/显示导航区域:⌘+ 0
Xcode Workspace Shortcut Navigation
Xcode工作区快捷方式导航
Hide/Show Debugging Area : ⌘+⇧+Y
隐藏/显示调试区域:⌘+⇧+ Y
Xcode Workspace Shortcut Debugging Area
Xcode工作区快捷方式调试区域
Hide/Show Utility Area : ⌘+⌥+ 0
隐藏/显示实用区域:⌘+⌥+ 0
Xcode Workspace Shortcut Utility
Xcode Workspace快捷方式实用程序
Navigation through Inspector Area Tabs: ⌘1…8
浏览“检查员区域”选项卡:⌘1…8
Xcode Inspector Tabs Shortcut
Xcode检查器选项卡快捷方式
Navigation through Utilities Area Tabs: ⌘1…6
在实用程序区域选项卡中导航:⌘1…6
Xcode Utilities Tabs Shortcut
Xcode实用程序选项卡快捷方式
快速打开:⇧+⌘+ O (Open quickly: ⇧+⌘+O)
Xcode Shortcut Open Quickly
Xcode快捷方式快速打开
协助编辑 (Assistance Editor)
This can be accessed using the two circles at the top right.
可以使用右上角的两个圆圈进行访问。
Commands to show and hide are:
显示和隐藏的命令是:
Show – ⌘ +⌥ + ⏎
Hide – ⌘ + ⏎
显示–⌘+⌥+⏎
隐藏–⌘+⏎
自动文档:⌘+⌥+ / (Auto-documentation : ⌘ +⌥ + /)
We can add comments over a method in documentation formatting as shown below:
我们可以在文档格式中为方法添加注释,如下所示:
Xcode Shortcut Auto Documentation
Xcode快捷方式自动文档
To comment or uncomment use : ⌘ + /
要发表评论或取消评论,请使用: ⌘+ /
在文件中搜索:⌃ + 6 (Search within a file: ⌃+6)
Xcode Shortcut Search In File
Xcode快捷方式在文件中搜索
编辑/重命名范围:⌃ +⌘+ E (Edit/Rename all in Scope : ⌃+⌘+E)
This shortcut is used to change a variable/method name in the file.
此快捷方式用于更改文件中的变量/方法名称。
修正所有错误:^ +⌥+⌘+ F (Fix all errors : ^+⌥+⌘+F)
Instead of manually fixing each error from the right side error labels, the above command fixes all errors that can be resolved automatically.
上面的命令不是修复右侧错误标签中的每个错误,而是修复了所有可以自动解决的错误。
隐藏/扩展类或方法主体:⌥+⌘+⇢或⌥+⌘+⇠ (Hide/Expand class or method body : ⌥+⌘+⇢ OR ⌥+⌘+⇠)
Xcode Shortcut Hide Expand Function
Xcode快捷键隐藏扩展功能
重新排序语句:⌥+⌘+ [] (Reorder statements : ⌥+⌘ + [ ])
Use command and option along with the right and left brackets to move the statement above/below the adjacent statements.
使用命令和选项以及左右括号将语句移动到相邻语句的上方/下方。
Xcode Shortcut Reorder Statements
Xcode快捷方式重新排序语句
缩进码:⌘+ [] (Indent Code : ⌘ + [ ])
This shortcut is used to indent the whole code left/right
此快捷方式用于向左/向右缩进整个代码
Xcode Shortcut Indent Statements
Xcode快捷方式缩进语句
调试快捷方式 (Debugging Shortcuts)
Add and Remove breakpoints : ⌘ + \
添加和删除断点:⌘+ \
Xcode Shortcut Add Remove Breakpoint
Xcode快捷方式添加删除断点
To enable/disable all breakpoints use ⌘ + Y
要启用/禁用所有断点,请使用⌘+ Y
That’s a wrap on this tutorial demonstrating Xcode Shortcuts. Stay tuned for updates!
这是演示Xcode快捷方式的本教程的总结。 请继续关注更新!
翻译自: https://www.journaldev.com/28616/xcode-shortcuts-you-must-know
xcode 快捷
xcode 快捷_您必须知道的Xcode快捷方式相关推荐
- dbeaver 设置编码_初学者必须知道的idea设置
初学者必须知道的idea设置 解决输入法卡住的问题 使用idea的时候中文搜狗输入法会卡住,在安装路径下有两个jre文件夹,32位系统改jre32,64位系统改jre64,重命名一下文件夹就好了. 修 ...
- 学习_你必须知道的.net2_第四章_一切从IL开始
IL体验中心: 1: .class表示是一个类 ; .public表示访问权限 ; auto表示程序加载时内存由CLR决定的,而不是程序本身 .ansi实现托管与非托管代码的无缝转换: . ...
- this指向_前端必须知道的this指向问题
this是指JavaScript语言的一个关键字.在函数运行时,自动生成一个内部对象,只能在函数内部中使用.随着函数使用场合的不同,this的值也会发生变化,指向是不确定的.指向是可以改变的.不过有一 ...
- java泛型常用特点_?你必须知道的Java泛型
前言 文本已收录至我的GitHub仓库,欢迎Star:https://github.com/bin3923282... 种一棵树最好的时间是十年前,其次是现在 我知道很多人不玩qq了,但是怀旧一下,欢 ...
- 统计各部门的薪水总和_你必须知道的SAP中统计指标设置和应用
第一节统计指标 统计指标是指反映总体现象数量特征的概念.它包括三个构成要素:指标名称,计量单位,计算方法,统计指标通常用来做分配分摊系数依据. 图1-[1]:手工计划创建统计指标计划格式的配置. 图1 ...
- 二叉树的字符图形显示程序_每个程序员都必须知道的8种通用数据结构
作者:IT-Evan https://www.cnblogs.com/IT-Evan/p/12444968.html 数据结构是一种特殊的组织和存储数据的方式,可以使我们可以更高效地对存储的数据执行操 ...
- 精确的数据访问冲突_每个程序员都必须知道的8种通用数据结构
快速介绍8种常用数据结构 数据结构是一种特殊的组织和存储数据的方式,可以使我们可以更高效地对存储的数据执行操作. 数据结构在计算机科学和软件工程领域具有广泛而多样的用途. 几乎所有已开发的程序或软件系 ...
- c 多文件全局变量_必须知道的C语言知识细节:C程序编译后内存到底是如何布局...
「今天是学习C语言第 116 天」 当你选择了一种语言,意味着你还选择了一组技术.一个社区.--Joshua Bloch C语言程序编译以后,代码和数据都必须存放在内存中由CPU执行.理解C程序内存是 ...
- [你必须知道的.NET]第二十二回:字符串驻留(上)---带着问题思考
发布日期:2008.8.27 作者:Anytao © 2008 Anytao.com ,Anytao原创作品,转贴请注明作者和出处. 说在,开篇之前 走钢丝的人,在刺激中体验快感.带着问题思考,在问 ...
最新文章
- asp.net实现在网页上自动显示超链接以及Email地址
- Android RelativeLayout属性
- 每日一问一周汇总:第1期
- JZOJ__Day 6:【普及模拟】团队背包(team)
- FFT实现高精度乘法
- ffmpeg实战教程(六)Android CMake实现解码(MP4转YUV)
- 微课|玩转Python轻松过二级(2.4节):常用内置函数用法精要1
- [leetcode] 95. 不同的二叉搜索树 II
- ajax无刷新提交表,Ajax无刷新提交表单和显示
- navicat导入sql语句
- !!obj与JavaScript中!!的作用
- 嵌入式算法19---国家商用密码SM算法
- Spring实战学习笔记整理(4)-AOP(面向切面编程)
- js字符串格式化方法format
- Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not suppor
- 福建农林大学计算机分数线,福建农林大学录取分数线2021是多少分(附历年录取分数线)...
- 走进黑客工具箱:使用 Whatweb 和 Acunetix 加固您的 Web 应用程序
- lipo otool 动态库、静态库的生成
- 深入了解电容(三):陶瓷电容MLCC
- Java 三种集合的遍历方式