IOS design model learning (2) warm-up

Source: Internet
Author: User


1 Preface
In this section, we will use a simple application: drawing application. We will call it TouchPainter. To demonstrate the design patterns and best practices, and hope to be inspired.

2. Details
2.1 three important milestones in the design process
2.1.1 concepts
Collect some basic requirements and Use Cases about TouchPainter applications, such as how users should use them and the user experience during use.

2.1.2 Interface Design
Let developers explore those UI elements that can be logically combined to have a holistic understanding, eliminate unnecessary UI elements, simplify and enhance user experience. This is a repetitive process, so the design should be easy to modify. Developers can draw different views on paper with a pencil for modification.

2.1.3 Architecture Design
Identify technical issues with application architecture, such as how users can open graffiti.

2.2 Architecture Design
Architecture Design of the design model:

2.2.1 View Management
(1) migration from one view to another

(2) coordinate view migration using intermediaries

Here we introduce an intermediary, which reduces the dependency between views.

2.2.2 how to show graffiti
(1) What can I draw on the screen?

(2) Use a combination structure to represent traces

Here we use a combination mechanism to combine the lower-cut and vertices into a tree structure, so that each node can be processed in a unified manner.

A vertex is a leaf node and an independent entity;

A line is a combination body that contains other points as vertices. A colleague can also contain other line combinations.

(3) Draw a graffiti chart

2.2.3 how to display saved graffiti Images
(1) obtain the graffiti chart status

(2) reply to the graffiti chart status

2.2.4 user operations
(1) browse the list of graffiti thumbnails

(2) Withdrawal and restoration of graffiti

(3) change the line color and line width

(4) Delete the current graffiti graph on the screen

Based on the above functions, we will learn the corresponding design patterns one by one, so as to apply the patterns and practices.

3 conclusion
The above is all content and I hope it will help you.


 

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.