UI Basics-(1) UI initial knowledge

Source: Internet
Author: User

A preliminary understanding of UI

1. What is a UI

The UI is the abbreviation for user Interface (UI). UI design refers to the whole design of human-computer interaction, Operation Logic, and beautiful interface of the soft parts. A good UI set- up is not only to make the software has a personality and taste, but also to make the operation of the software comfortable, simple, free, fully reflect the positioning and characteristics of the software.

ps:1) The job of an iOS programmer is to implement a well-designed UI through code

2) General process of the project:

(Customer/boss) requirements---(personnel) organized into requirements document--(UI set Statistician/artwork) design complete ui-> (programmer) to complete the project according to the UI

(test) via test, shelves

2. First UI Engineering

1) where is the program entry for UI engineering?

In the Appdelegate class (the proxy object of Uiapplicationmain);

2) What is uiapplicationmain

Each program must have an instance of uiapplication ( or its subclasses) at run time . Create a singleton instance of UIApplication. This can be done by calling [UIApplication sharedapplication] to get a pointer to the singleton instance.

One of the main tasks of uiapplication is to handle user events, which creates a queue that puts all user events into the queue, processing them

at the time of processing, it sends the current event to an appropriate target control for handling the event . In addition, the UIApplication instance maintains a window list (UIWindow instance) opened in the app so that it can touch any of the UIView objects in the app. UIApplication instances are given a proxy objects to handle application lifecycle events (such as program startup and shutdown), system events (such as incoming calls, reminder alerts), etc.

3) iOS program life cycle

4) iOS program icon and program name settings

Modify the picture in the Info.plist configuration file to be in PNG format, and the pixel dimensions must conform to the requirements

5) Uikit Frame succession diagram

UI Basics-(1) UI initial knowledge

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.