Why? UI rendering (UIKit) works in the main thread.
How? All heavy lifting (time-consuming) should be moved out of main thread, including:
- Disk I/O
- Networking, e.g., API calls
- Large computations
- Use GCD, and/or Operation
Why? UI rendering (UIKit) works in the main thread.
How? All heavy lifting (time-consuming) should be moved out of main thread, including: