swift version of CCCircleSpinLayer