Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makes the second hand move in one continous smooth motion #3

Open
AndrexOfficial opened this issue Jul 23, 2013 · 2 comments
Open

Makes the second hand move in one continous smooth motion #3

AndrexOfficial opened this issue Jul 23, 2013 · 2 comments

Comments

@AndrexOfficial
Copy link

How to Make the second hand move in one continous smooth motion and how to add a shadow that follows the hands?

@nacho4d
Copy link
Owner

nacho4d commented Feb 19, 2015

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

:)

@josepharthur
Copy link

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" notifications@github.com
Date: 2/19/15 5:25 am
To: "nacho4d/ClockView" ClockView@noreply.github.com

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants