WWDC 2017
Session video and resources: https://developer.apple.com/videos/play/wwdc2017/238/ Provided by @mihriminaz
- Accuracy level. Be mindful about your update rate
- Minimize screen updates
- Minimize use of discrete GPU ( MTLCopyAllDevices - only use when animation suffers or function isn’t working)
- If you use OpenGL NSSupportAutomaticGraphicsSwitching -info.plist
- Minimize screen updates
- CPU
- Identify tasks
- Do work quickly and efficiently
- Avoid timers
- Set leeway
- Avoid as much as possible
- Finish work quickly and efficiently
- Use background app refresh for updating content
- Use completion handler so that you complete
- New - PushKitAPI - has completion() now.
- CPU limits like workout
- Minimize Networking
- Energy Gauges
- Debug your app for
- Launch & idle
- Background
- E.g: For a navigation app: debug for,
- Search for and address
- Get directions
- Navigate