1, container relationships
Screen has window, window has viewController (root), vC has view, view has subview
2,
// Both UIView and UIViewController is a UIResponder
touchesBegan:withEvent:3,
Views and windows present your application’s user interface and handle the interactions with that interface.
Every UIView comes packaged with a CALayer knows as the “backing layer” or “underlying layer.” Many of the methods you call on UIView simply delegate to the layer. When you change a view’s frame, it’s simply changing the layer’s frame. If you change the alpha, it changes the layer’s alpha…and so on with background colors, transformations and more
5,
Macros are compile time constants. That means they will replaced with actual values in the compile time.