ClockView
ClockView copied to clipboard
Makes the second hand move in one continous smooth motion
How to Make the second hand move in one continous smooth motion and how to add a shadow that follows the hands?
Sorry for the late response. Regarding the continuos hand there is a property for that will do that:
clock.secHandContinuos = YES
Regarding the shadow. There is no solution for this at this moment but you could set the shadow of secHand since it is a CALayer. I imagine the shadow direction should change according to the angle so a good place to do it would be here: https://github.com/nacho4d/ClockView/blob/master/ClockView/ClockView/ClockView.m#L110-122
:)
thanks . hey are you on facebook?
--------- Original Message --------- Subject: Re: [ClockView] Makes the second hand move in one continous smooth motion (#3) From: "Guillermo Ignacio Enriquez Gutierrez" [email protected] Date: 2/19/15 5:25 am To: "nacho4d/ClockView" [email protected]
Sorry for the late response. Regarding the continuos hand there is a property for that will do that: clock.secHandContinuos = YES Regarding the shadow. There is no solution for this at this moment but you could set the shadow of secHand since it is a CALayer. I imagine the shadow direction should change according to the angle so a good place to do it would be here: https://github.com/nacho4d/ClockView/blob/master/ClockView/ClockView/ClockView.m#L110-122 :)
Reply to this email directly or view it on GitHub.