A UIKit Dynamics sample code forked from Apple ( a crash bug fixed.