Source code for dictator tween on iOS