- Look at expensiveness of
tableView(_:cellForRowAt:), often quite expensive. layoutSubviewsfor cells can be quite expensive too.- Prefetching can be a big win, but not always
- Two cells could be fighting for the CPU with prefetching. iOS 12 is smarter about this.
- Better CPU ramping up
Used to improve memory because allocating memory that is not available yet is slow. It automatically optimizes storage in memory for images. You get this by default. More in Images and Graphics best practices
- Support interactions now
- Grouped notifications, for instance by conversation
- Settings linking in notfications
- Stickers in camera
- presentation contexts to see if you’re in camera or not
- Swipes are now owned by your app instead of switching between apps
- Activated using custom voice phrase
- Pro-actively suggested by Siri
- NSUserActivity and SiriIntents (more complex scenarios)
eligibleForPrediction = trueon NSUserActivity and you’re good to go- SiriKit intents are part of a category, a lot of options are available there
- User enters the phrase themselves