iOS (Swift) implementation of bezier clock.