-
rendering pipeline
-
layer tree(your code) vs presentation tree => pass to render tree
-
blending vs compositing
view 疊太深 => draw into your own buffer <=> against animation
rendering time
CoreGraphics > UIView > CALayer
- 3 Instagram secrects
Do things secretly and unseen.
Different kinds of work
Time X Disposable
Creation is costly
retain not copy.
- instruments
- core animation instrument (overdraw, misaligned, copied images)
- Allocations Instrument
- Threads Instrument
- Reveal http://revealapp.com/