6. Dynamic Animators

Dynamic animators are some of the most exciting elements of iOS, even if they are among the least practical. Their physics-based view behaviors create lively and curious interfaces. At the same time, they can be fussy to work with. They don’t happily coexist with Auto Layout because they directly update frame values and can rotate views. That said, dynamic animators are tremendously fun. They help make your UIs pop and are well worth exploring to discover what features they can provide your users.

Physics-Based Behaviors

The UIDynamicAnimator class emulates interface “physics.” It coalesces this functionality into distinct behaviors like snapping, pushing, attachment, and collision. Here’s a quick overview of the primitive ...

Get The Gourmet iOS Developer’s Cookbook: Even More Recipes for Better iOS App Development 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.