1. UIKit Dynamics

Apple introduced UIKit Dynamics with iOS 7, which enables developers to easily provide realistic physics simulations that can be applied to UIViews. For many years, developers have incorporated realistic-feeling effects into sections of their apps, such as swipeable cells and pull-to-refresh animations. Apple has taken a big steps in iOS 7 and iOS 8 to bring these animations into the core OS, as well as to encourage developers to implement them at an aggressive rate.

The UIDynamicItem protocol, along with the dynamic items that support it, is a giant leap forward in user experience. It is incredibly easy to add effects such as gravity, collisions, springs, and snaps to interfaces to provide a polished feel to an app. The APIs ...

Get Mastering iOS Frameworks: Beyond the Basics, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.