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.
None yet.
Comments