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

Revolutions count #5

Closed
SuperLLN opened this issue Oct 6, 2016 · 6 comments
Closed

Revolutions count #5

SuperLLN opened this issue Oct 6, 2016 · 6 comments

Comments

@SuperLLN
Copy link

SuperLLN commented Oct 6, 2016

Hi!
It's possible to count the number of revolutions? I would like to use 10Clock and add a [days] field that I could increment or decrement by doing rotations.
Thanks for your help!

@joedaniels29
Copy link
Owner

Hey, um, Yes, its possible, though it wouldn't be the easiest thing in the world to do.

The model for the control is just Radians on the unit circle. So the control does a transformation from the range [pi/2, 4pi + pi /2 ]. you can definitely change this, it would just take a bit of effort to make everything work nicely.

@P-huaizhi
Copy link

Have 10clock use Objective-C?

@P-huaizhi
Copy link

I need a Object-C project. Can you help me?

Thanks for your help!

@joedaniels29
Copy link
Owner

@P-huaizhi in the future, its best to open a new issue....

That said, I don't think you should have much of an issue importing from an Obj-c project. it should work almost the same way. I've not used many only swift constructs, and the public api should be objc friendly I think. Can you describe the issue you're having?

@P-huaizhi
Copy link

@joedaniels29 YES! The public api is functional, I used it on my objc.
Thanks your reply! thank you very much

@joedaniels29
Copy link
Owner

Good to hear! closing.

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