First of all, the title is a bit broad. This article is just to share some shortcuts and habits that I usually use. I hope it can help your daily development efficiency.
As for why to write?There are several reasons: 1. At work, I found that some iOS partners usually search layer by layer in the project directory when developing, for example, when quickly opening a class file, etc. I hope this article can improve their development happiness. 2. I think I know a lot of shortcut keys, but I still learned a few practical ones from my colleagues. This article will serve as a record to share some of the little tricks I develop in my daily life. Mouse and TouchpadIf you use an iMac, you mostly use an Apple mouse. The Apple mouse can be set with smart gestures. There are tutorials and settings in the System Preferences. You can take a look. Every time I see my colleagues still using the iMac mouse as a Windows mouse, I really want to say that the high price of this mouse is justified. Mouse: 1. Swipe right with one finger to return, so you don’t have to click to return to the previous class every time in Xcode. 2. Swipe left or right with two fingers to switch desktops. MacOS has multiple desktops, which is very good. You can put one for UI, one for code, one for interface documents, etc. 3. Tap with two fingers, which is equivalent to the shortcut key Miss Control above F3, which is very convenient. Touchpad: Basically the same as a mouse, to switch desktops, swipe left or right with three fingers, and to Miss Control, swipe upward with three fingers. Okay, without further ado, let’s get straight to the point. I’ll sort by the frequency of use of the shortcut keys by default, and I hope everyone can give it a try. In Xcode 5. If you are not used to opening multiple tabs and are used to opening multiple Xcode windows, you can use Command + ` to switch between them. 12. Similarly, 13. Select a section of code and 20. There is also an important shortcut key, :point_up:, Xcode window related As shown in the figure, you can see all the callers, imported files, and other related dependencies. You can also find the recently opened files, Recent Files other 1. There is also a multi-line editor, which is sometimes used. You need to use Sublime Text. The shortcut key is tool I recommend you to install Off topic: I would like to recommend an application to everyone, Noizio, an environmental noise simulation tool that can simulate being in a cafe, at the beach, etc. About Lazy Programmers Laziness is actually a compliment to programmers. The laziness here is not laziness in the conventional sense. Maybe you have heard To give a practical example, our recent project introduced internationalization. As we all know, translation is really a physical job. My colleagues wrote a script in Python that can automatically detect the text that needs to be translated and automatically write it to the corresponding Localization file and the location of the text code, which greatly saves physical labor. This is the excellent virtue of laziness. ***If you have any good shortcuts or ideas to improve efficiency, please leave a message to share with me, so that I can add some good habits. At the same time, I will update this article. Thank you! I hope everyone can become a lazy programmer. Isn’t it good to use the time saved to have a cup of coffee? |
<<: 12 open source frameworks to watch for Java, Web, and mobile development in 2018
>>: Travel Frog Unity Game Reverse Modification--iOS Edition
In future advertising , the selection of informat...
The brain is not a computing device, nor is it a ...
According to media reports, Honda announced its s...
Can an e-commerce business license be used to ope...
Although the smart TV industry has continued to b...
I have watched quite a few product launch confere...
If you want to write a popular marketing promotio...
Tesla's main business is automobiles, energy ...
What? Cockroaches can also make oil? Cooking oil?...
There are many kinds of life on Earth, and the un...
On the iOS platform, the traditional programming ...
Preventing user churn and improving retention and...
Many people have heard of HPV. However, the cause...
The fourth day of the first lunar month is not on...
According to the search and rescue command center...