The Path of An Architect

Sixteen. Performance optimization

16.1 the CPU and GPU

16.2 Causes of stacken

16.3 Lag Optimization -CPU

16.4 Caton Optimization – GPU

16.5 Off-screen rendering

16.6 Stuck inspection

The main thread RunLoop can be added with an Observer to monitor the main thread RunLoop status by monitoring the time spent on state transitionsCopy the code

16.7 Major sources of electricity consumption

16.8 Power consumption optimization

16.9 App launch

16.10 Optimization of APP startup

16.11 Thin Installation Packages

17. Design patterns and architecture

17.1 What is Architecture?

17.2 MVC-Apple edition

17.3 MVC – Variants

17.4 the MVP

17.5 MVVM

17.6 Three-Layer Architecture

Application layer/Interface layer Service layer Data layerCopy the code

17.7 Four-Layer Architecture

Application layer/Interface layer Service layer Network layer Data layerCopy the code

17.8 Design Patterns

Reference: iOS Basic Principles class (part 2) /OC object/Associated object/multi-threading/memory management/performance optimization