iOS Development Learning Note 011

Source: Internet
Author: User

Xcode tips for using

1. Automatic generation of classes

2, breakpoint debugging

3. Save the Code snippet

4. Comment Mark

1. Create a new class, automatically generate two files and basic structure

The first step

The second step is to select a new class instead of a source file

The third step is to write the class name to inherit the parent class

Fourth step, select the file save path

Finally, the automatic generation of two files, a header file, a source file, the basic structure of the file has been written.

2, breakpoint debugging

Breakpoint debugging allows you to observe the process of changing variables during the course of a program's operation to check for errors.

Cancel a breakpoint or delete a breakpoint

3. Save the Code snippet

Here to set the name of the code snippet and the shortcut you want to use to enter a shortcut in the file to prompt the entire file

As follows: Code hints function is very convenient, to save some common code, later use is convenient, but also support Chinese.

4. Comment Grouping

#pragma mark-The set method of the name

Some of the basic features of XOCDE are already known, and the next step is to start learning advanced features.

2015-4-17 today, and tomorrow remains.

iOS Development Learning Note 011

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.