11201 12312 13423 14534 15645 16756 17867 18978 19089
22404 23516 24628 25730 26842 27954 28066 29178
33609 34712 35825 36938 37041 38154 39267
44806 45910 46024 47138 48242 49356
55005 56110 57225 58330 59445
66206 67312 68428 69534
77409 78516 79623
88604 89712
99801
怎么认识app?
1.从界面看(显现出来的元素有哪些?为什么要这么展示?)
2.从功能看(支持表现背后的逻辑会是什么?数据经过哪些变化?多少层级变化?这些数据是否反映真实?)
从界面开始,我每天做一点总结。
首先看的见的就是各种画面,就是views。
About Windows and views
In iOS, you use windows and views to present your application's content on the screen. Windows do not have any visible content themselves but provide a basic container for your application's views. Views define a portion of a window that you want to fill with some content. For example, you might have views that display images, text, shapes, op some combination thereof. You can also use views to organize and manage other views.
window basic container
views to define a portion of a window that you want to fill with some content.
Every application has at least one window and one view for presenting its content.
define custom views and use predefined views
views manage your application's visual content
views are responsible for drawing content, handling multitouch events, and managing the layout of any subviews. Drawing involves using graphics technologies such as Core graphics, OpenGL ES, or UIKit to draw shapes, images, and text inside a view's rectangular area. A view responds to touch events in its rectangular area either by using gesture recognizers or by handling touch events directly.
think of views as building blocks that you use to construct your user interface.
views 是什么?
是构建与用户交互的方块
windows coordinate the display of your views.
Animations provide the user with visible feedback for interface changes
through animation you can change the transparency of a view, its position on the screen, its size, its background color, or other attributes. And if you work directly with the view's underlying Core Animation layer object, you can perform many other animations as well.
要更好的创造,就得站在巨人的肩膀上
Because views are very sophisticated(复杂,精密) and flexible objects, it would be impossible to cover all of their behaviors in one document.
see also
view controller programming guide for iOS
drawing and printing guide for ios
core animation programming guide
每天学点小基础,温故而知新。不怠不罔。