Author:

Lou Franco is the founder of Greenwave Solutions, a software consultancy specializing in B2B mobile apps. He has been developing for mobile devices for over a decade and recently co-authored a book for beginner programmers called Hello! iOS Development, published by Manning.

Twitter: Follow Lou Franco on Twitter

Getting Your App Ready For iOS 7′s New Dynamic Interactions

There’s no need to bust out a physics textbook to make your iOS 7 app’s views animate like real-world objects. With iOS 7’s new Dynamics API, views can be influenced by gravity, attached to each other with springs, and bounced up against boundaries and each other.

Getting Your App Ready For iOS 7's New Dynamic Interactions

Physics engines are no stranger to game designers. Whether it’s the perfect gravity-induced parabolas of Angry Birds or the swinging candy in Cut the Rope, we’re used to objects in games feeling real. To get this effect, game designers don’t write code to set the position of each object manually. Instead, they use a physics engine that treats the elements as bodies in a simulation and that uses Newton’s laws of motion to calculate how they move over time.

Read more...
1

↑ Back to top