Stairways Software Icon

Stairways Software

Excellence In Software For Over Ten Years – Only with a Mac

Animated Controls

Yosemite has fancy new animated controls for basic things like check boxes and radio buttons.

I would hope there was an API to make this work for custom controls, but I have yet to find any.

So I have posted some code which demonstrates a simple way of doing an animated toggle button.

I don't claim this is the only, or even the best, way to do this. But it is relatively simple, and aside from the drawing code, it is resuable.

Posted Tuesday, July 29, 2014. Permalink. Post a Comment.


Post Comment

Name: (optional)
URL: (optional)
Email: (optional, not published)
CAPTCHA: three six one one (required)
  To prove you are human, please enter the number as digits (ie, 1-9).
  You can use some HTML tags such as <b>, <i>, and <a href="">.
We reserve the right to remove any offensive or inappropriate comments.
Due to spam issues, comments are initially invisible until we review them,
you can see them (background red) and we can see them, but no one else.

Comment Preview

None yet.

Buy Now

User Database