Some experience notes for iOS 2

Source: Internet
Author: User

1, Uitextfield event with valuechanged outlet connection

2. The self of struct and class in Swift

3, Int and UINT

4. Gesture target, action parameter, is not the target of the recognition, but the class of processing

5. The reason why the UITableView is not moving is that size is not enough

6, Swift uses the C array with

Unsafemutablepointers

The interfaces of other C/+ + are mostly unsafexxx.

7, Swift and OC interaction, Swift's agreement to inherit NSObject

8. The difference between present and show Viewcontroller

Dismisse, first Dismisse show or there's a problem.

9, AutoLayout with the parent control interval with relative to margin adjustment and inset parameters

10, remove the split line can be used UIView (Frame:cgrectrzero), such as TableView's feet, Tablefooterview.frame = Cgrectzero.

11, WebView slide not to the bottom, is the bottom alignment problem, the upper not to Aceh adjust scroll view insets properties

12, the alignment can use the background color, do not arbitrarily add the space

Some experience notes for iOS 2

Related Article

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.