Materials for iOS lecture given at mff.cuni.cz in Winter 2015/2016
UIDynamics: https://www.bignerdranch.com/blog/uidynamics-in-swift/
DeviceMotion framework (accelerometer, gyro) http://nshipster.com/cmdevicemotion/
Events handling (Apple documentation) https://developer.apple.com/library/ios/documentation/EventHandling/Conceptual/EventHandlingiPhoneOS/motion_event_basics/motion_event_basics.html