UI Beginner Note one in iOS

Source: Internet
Author: User

1.IBAction:

1> can guarantee that the method can be wired

2> equivalent to void

2.IBOutlet:

1> can ensure that attributes can be wired

3. Common errors

Setvalue:forundefinedkey:]: This class was not key value coding

The reason for the error is: the connection problem

Some suggestions for 4.XCODE5 start

Declare some methods and properties for wiring in the class extension of the. m file

5.frame\center\bounds

1> frame: Can modify position and size

2> Center: Can modify position

3> bounds: Can modify the size (X\y is generally 0)

UI Beginner Note one in iOS

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.