IOS Development Notes-Basic UI (2)

Source: Internet
Author: User

1, the company marked the general use of reverse domain name

The forward domain name www.xxx.com is used to mark a network host, as long as the company does not repeat the internal can.
The reverse domain name Com.xxx.demo is used to mark the product and should be uniquely identified.

Cn.com.abc.product, at the back of his company's product name

2. Bundle Identifier: Product Unique Identifiers

Bundle ID = Company's reverse domain name + product Name

1> application with only one unique identifier above the emulator
2> on AppStore, the bundler ID of all applications is unique

The Bundle ID does not support Chinese.

So in the case of shelves, the bundle ID needs to be changed, and Apple uses bundle IDs to differentiate products, record product revenues, and so on.

However, development is not affected.

3. Common Controls

Do not need all Baidu study, which to use, and then learn which can. Learn about the common ones.

To make it easy for developers to create a variety of excellent app,uikit frameworks that provide a lot of powerful and easy-to-use UI controls, here are some UI controls that might be used in development:

Nine Gongge (collection View), which appears after Iphone6, is likely to replace the functionality of UITableView.

4. Modify the state of the control

It is often necessary to modify (update) the display state of the UI control during a program run. Like what:download Progress is updated in real time during file download. the playback progress is updated in real time during music playback. The method is simple:Each UI control is an object that modifies the state of the UI control by modifying the properties of the control object, such as modifying the text displayed by the Uilabel, modifying the Text property of the Uilabel object, and modifying the picture displayed by the Uiimageview. Just modify the Image property of the Uiimageview object, it is not difficult to think that each UI control must have many properties. For example: The Uiprogressview progress bar control has the progress property (progress Value) Uilabel and Uitextfield have the Text property (display text) ... Although each UI control has its own unique properties, some properties are available for each UI control, such as every UI control has its own location and size, and has its own parent control, child controls.as a result, all UI controls eventually inherit from UIView, the public properties of the UI control are defined in UIView, such as: frame: Position and Dimension Center: Central Point Location ... 

5, familiar with the simulator shortcut key operation, more groping, more hands-on.

6. In Uikit, the origin of the coordinate system (0,0) is in the upper-left corner, the X-value extends to the right, and the Y-value is extended forward.

IOS Development Notes-Basic UI (2)

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.