Some shortcut keys and basic function records of XCode (updated one after another)

I have just been studying IOS development recently, and I am learning XCode
because I used to use Eclipse and some AS and Java in the past, and suddenly I am not used to XCode. I

found some functions to record (updated one after another)

format code
Editor-->Structure-->Re -Indent shortcut key is Ctrl + I
Editor-->Structure There are shortcut keys Command + [ and Command + ] to move the code to the left and right.

Rename the attribute
Select the attribute, right click Refactor-->Rename, XCode can first Previewed, and then saved. Comments for







writing OC can be
simple comments three / ie /// property comment content
method detailed comment
/**
* @brief method with integer parameters.
*
* @param value value.
*
* @return Return value.
*/
The above comments can be seen in XCode, Quick Help in the right column, as long as you select the object you want to see. For
more information about comments, you can join the following blog
http://blog.csdn.net/ muyu114/article/details/9454197

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326679521&siteId=291194637