I’ve mentioned a nice set of iOS 7 source code examples demonstrating the usage of many features added with the iOS 7 SDK and a tutorial explaining the basics of the UIDynamics API through the building of a Pong game.
Here’s a set of examples submitted by Jacky Li demonstrating usage of the UIDynamic API.
Included are examples of gravity, collisions, attaching objects together in a group, and how to smoothly snap objects on a specific location.
Here’s An image from the readme showing the snap example in action:

You can find UIDynamicExample on Github here.
A nice set of examples demonstrating some useful things you can do with the UIDynamic API.
- iPhone Game Physics Tutorial: Radial Gravity
- Example: Easily Implement Fast Pixel Perfect Collisions In Cocos2D
- Tutorial: Using iOS 7 UIKit Dynamics To Make A Pong Game (Animations, Collisions, Physics)
- Easy And Accurate 2D Collisions
- Open Source Control For Creating Custom Image Based Indicators For Ratings, Gauges, Progress And More
Original article: iOS 7 UIDynamic Source Code Examples Demonstrating Gravity, Collisions, Snapping And More
©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.




