Standford video review
Lecturue 5 : view, annimation,
Q: where is "research assistant" in Xcode ?
Q: what is "first responder" ? what is the mechanism ?
* removeFromSuperview
subviews ownership: The super view is usually the only owner of subviews.
* frame & bonds
Q: frame will not be saved in any case ?
bounds will be saved .
Frame = 某个View的最小占用面积的矩形座标(如果倾邪,是不一样的东东)
* UIView::DrawRect()
never call it directly!!!
setNeedsDisplay
Lecture 6 : MVC
* Model
KVO - Key Value Observing ?
Notifications - NSNotificationCenter ( singleton )
* View w/ controller
Target-action
Delegation
* UIViewController
creating view:
# UIViewController::LoadView
# Interface Builder
UIViewController::ViewDidLoad
Lecture 7: Navigation Bar and Tab Bar