search
HomeDatabaseMysql TutorialXcode4.2 快捷键

------------------------------------------------------------------------------------------------------------- 1. esc 自动完成, 作用和VS中的ctrlj类,像 Eclipse 的 alt/ 2. command / 注释代码和反注释,用 //,相当于 Eclipse 的 ctrl/ 3. control

-------------------------------------------------------------------------------------------------------------

1. esc      自动完成, 作用和VS中的ctrl+j类似,像 Eclipse 的 alt+/
2. command + /   注释代码和反注释,用 //,相当于 Eclipse 的 ctrl+/
3. control + command + 上/下箭头  快速在头文件(.h)和实现文件(.m)之间切换
4. command + b   编译程序,不运行
5. command + r   编译并运行程序
6. command + shift + b   分析代码,找到潜在内存溢出问题Xcode4.2 快捷键
7. command + 单击 跳转到声明
8. option + 单击 弹出层中显示帮助信息
9. option + command + 左/右 方向键,折叠/打开当前方法
10. control + command + f Xcode 全屏,在 Lion 上支持
11. command + shit + y 打开/关闭控制台窗口
12. control + k 清理控制台
13. control + command + 左/右方向键,在历史的上/下一个文件中切换
或用两个手指左右滑动

command 代替 PC 键盘上的许多操作,像 Ctrl+V, Ctrl+C, Ctrl+Z,都该用 cmd+V, Cmd+C, Cmd+Z

14. tab 接受当前的自动完成
15. 双击中括号或者大括号,可以选择相应的封闭语句块

16. command - shift - o: 快速搜索打开文件
17. control 配合 1/2/3/4/5/6 键 : 可以快速打开相关文件/类或代码,我常用 control+1 显示打开的文件,control+6 显示当前类中的变量或方法,都可以输入来过滤

20. command + shift + j 在左边导航中定位当前打开的文件
21. command + return 切换到标准编辑器
22. option + command + return 切换到辅助编辑器,左右可以对比,特别方便编辑 xib 时进行拖拉关联

23. command+shift+f 进行 Search
24. f7 调试时 Step Into
25. f6 调试时 Step Over
26. f8 调试时 Step Out
27. control + command + y : debug断点时continue

28. command + \ : 当前行设置/取消断点
29. command + y 全局激活或禁用所有的断点

30. command+ 左/右方向键 跳到行首/行尾
31. option + 左/右方向键 向前/后跳一个单词
32. option + delete 向前删除一个单词
33. fn + option + delete 向后删除一个单词
34. command + delete 删除当前行中光标前所有字符
35. fn + command + delete 删除当前行中光标后所有字符



Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
What Are the Limitations of Using Views in MySQL?What Are the Limitations of Using Views in MySQL?May 14, 2025 am 12:10 AM

MySQLviewshavelimitations:1)Theydon'tsupportallSQLoperations,restrictingdatamanipulationthroughviewswithjoinsorsubqueries.2)Theycanimpactperformance,especiallywithcomplexqueriesorlargedatasets.3)Viewsdon'tstoredata,potentiallyleadingtooutdatedinforma

Securing Your MySQL Database: Adding Users and Granting PrivilegesSecuring Your MySQL Database: Adding Users and Granting PrivilegesMay 14, 2025 am 12:09 AM

ProperusermanagementinMySQLiscrucialforenhancingsecurityandensuringefficientdatabaseoperation.1)UseCREATEUSERtoaddusers,specifyingconnectionsourcewith@'localhost'or@'%'.2)GrantspecificprivilegeswithGRANT,usingleastprivilegeprincipletominimizerisks.3)

What Factors Influence the Number of Triggers I Can Use in MySQL?What Factors Influence the Number of Triggers I Can Use in MySQL?May 14, 2025 am 12:08 AM

MySQLdoesn'timposeahardlimitontriggers,butpracticalfactorsdeterminetheireffectiveuse:1)Serverconfigurationimpactstriggermanagement;2)Complextriggersincreasesystemload;3)Largertablesslowtriggerperformance;4)Highconcurrencycancausetriggercontention;5)M

MySQL: Is it safe to store BLOB?MySQL: Is it safe to store BLOB?May 14, 2025 am 12:07 AM

Yes,it'ssafetostoreBLOBdatainMySQL,butconsiderthesefactors:1)StorageSpace:BLOBscanconsumesignificantspace,potentiallyincreasingcostsandslowingperformance.2)Performance:LargerrowsizesduetoBLOBsmayslowdownqueries.3)BackupandRecovery:Theseprocessescanbe

MySQL: Adding a user through a PHP web interfaceMySQL: Adding a user through a PHP web interfaceMay 14, 2025 am 12:04 AM

Adding MySQL users through the PHP web interface can use MySQLi extensions. The steps are as follows: 1. Connect to the MySQL database and use the MySQLi extension. 2. Create a user, use the CREATEUSER statement, and use the PASSWORD() function to encrypt the password. 3. Prevent SQL injection and use the mysqli_real_escape_string() function to process user input. 4. Assign permissions to new users and use the GRANT statement.

MySQL: BLOB and other no-sql storage, what are the differences?MySQL: BLOB and other no-sql storage, what are the differences?May 13, 2025 am 12:14 AM

MySQL'sBLOBissuitableforstoringbinarydatawithinarelationaldatabase,whileNoSQLoptionslikeMongoDB,Redis,andCassandraofferflexible,scalablesolutionsforunstructureddata.BLOBissimplerbutcanslowdownperformancewithlargedata;NoSQLprovidesbetterscalabilityand

MySQL Add User: Syntax, Options, and Security Best PracticesMySQL Add User: Syntax, Options, and Security Best PracticesMay 13, 2025 am 12:12 AM

ToaddauserinMySQL,use:CREATEUSER'username'@'host'IDENTIFIEDBY'password';Here'showtodoitsecurely:1)Choosethehostcarefullytocontrolaccess.2)SetresourcelimitswithoptionslikeMAX_QUERIES_PER_HOUR.3)Usestrong,uniquepasswords.4)EnforceSSL/TLSconnectionswith

MySQL: How to avoid String Data Types common mistakes?MySQL: How to avoid String Data Types common mistakes?May 13, 2025 am 12:09 AM

ToavoidcommonmistakeswithstringdatatypesinMySQL,understandstringtypenuances,choosetherighttype,andmanageencodingandcollationsettingseffectively.1)UseCHARforfixed-lengthstrings,VARCHARforvariable-length,andTEXT/BLOBforlargerdata.2)Setcorrectcharacters

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor