Joke Collection Website - Public benefit messages - Xcode how to set the autocomplete statement
Xcode how to set the autocomplete statement
In other commonly used IDE tools, the relevant method prompts are as follows. For example, in Microsoft Visual Studio, if you want to get the method supported in Form 1, you only need to enter it.
Form 1.
After clicking (. ), the related methods will appear in the list. In fact, XCode also supports such a list, but it needs to be activated by a hotkey.
For example, if we want to get a message prompt related to NSBundle, we just need to press the hot key after the space: ctrl+ESC or ctrl+, (comma key), and the prompt will come out.
Similarly, attributes with attributes can activate the prompt list by pressing ctrl+ESC or ctrl+ after. (Point attribute).
But the headache is that there are too many related and unrelated methods, properties and so on. It's too much trouble to find what you need in it. In fact, XCode has another hotkey to get more related methods (that is, you may need them). This hotkey is ctrl+. (Click). Pressing this hotkey after the space will prompt you for the message or method you most likely need. Press the hotkey continuously, and these prompts will appear in cycles.
In some cases, some methods have multiple different parameters. You can switch between different parameters by pressing ctrl+/ (slash key).
If you are used to the usage of these hotkeys, I believe you will also feel that XCode's code auto-completion function is actually not bad.
- Previous article:Congratulations to my daughter on her wedding.
- Next article:How does Apple close the floating window?
- Related articles
- How many short message packets, local call packets and traffic packets are given in the third scheme of Tianjin Unicom's "2G Network Times Plan" activity every month?
- Hello, everyone, I'm customer service. In order to maintain customer relationship and avoid customer churn, a weekend blessing email was sent on Friday. Did it work?
- An apology to a friend
- Where can I check the funds of Shanghai Pudong Development Bank's universal credit card?
- How can banks effectively complain?
- Model essay on personal summary report of sales staff
- 202 1 wonderful party building greetings 100 202 1 selected party building greetings 100.
- Hand-drawn posters for Women¡¯s Day - On Women¡¯s Day, I saw a lot of posters online that read ¡°WeCanDoIt!¡±. They were very nice. Does anyone know the source?
- How to use a warning tone when cheating?
- Bars report blessings and domineering.