Git Product home page Git Product logo

ezclockview's People

Contributors

notbenoit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

pv-g

ezclockview's Issues

Users should also be able to hide a hand by setting its length to 0

I wanted to hide the seconds hand, so I thought I can just set its length to 0, but then it crashed...

I tried to set its thickness to 0 and this time it hid successfully.

I think this is a little counter-intuitive. Can you check the value of the hands' lengths so that if any one is 0, don't draw that hand? Or even better, add properties like isSecondsHandEnabled so that users can easily disable some hands.

I can't see the clock in storyboard...

Using Xcode 8.3.2, I added a view to the storyboard and set its class to EZClockView. I was able to set the @IBInspectable properties using the property inspector, but I can't see a clock being drawn in the storyboard. When I run the app, the clock isn't visible either. See this commit to reproduce.

Major/Minor markings

Thanks for the great work! It's awesome to see something like this in @IBDesignable. I wanted to see if major/minor markings were in the roadmap? Something along the lines of:

watch

CGPathAddLineToPoint error

With Xcode 7.2 :
I'm using the view within Interface Builder, everything works great, as expected,
but I get this message in the debugger console on runtime :

Feb 8 18:04:25 MyProject[46206] <Error>: void CGPathAddLineToPoint(CGMutablePathRef _Nullable, const CGAffineTransform * _Nullable, CGFloat, CGFloat): no current point.

No graphical glitch noticed, it appears just once, when drawing the clock for the first time, other draws are OK.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.