[Xcode use] custom code block reference, xcode custom

Source: Internet
Author: User

[Xcode use] custom code block reference, xcode custom
Xcode itself has a commonly used code block for use. For example, the "if" code block defines the call method 1. you can drag and drop the editing area. 2. when you use the shortcut key and type "if", Xcode automatically prompts you to customize your frequently used code blocks: 1. write code 2. select Code, and press the left mouse button on the selected code until the cursor symbol changes to the mouse pattern. 3. drag to the block code area. 4. click the icon to open the code block. click "Edit" to set 6. set the block code name. Tip 7. set the replaceable character to replace the name with the <# name #> placeholder. After the code is automatically completed, the position of manual encoding can be automatically selected. @ property (nonatomic, copy) NSString * <# name #>;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.