Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

m.gansrigler

macrumors regular
Original poster
Mar 19, 2011
128
98
Vienna, Austria
Hi all.

Again I have some code to share, I hope you don't mind.

This time, it's a category on NSProgressIndicator that lets you animate its doubleValue.

Usually, when you set the doubleValue of a determinate NSProgressIndicator, the view just "jumps" to reflect the change.
With the category, it slides into position.

progbaranimation.gif


The Github Repository with an example OS X app can be found here: https://github.com/eternalstorms/NSProgressIndicator-ESSProgressIndicatorCategory

I also wrote a blog post about it here: https://eternalstorms.wordpress.com...-determinate-nsprogressindicator-open-source/

I hope you find it useful :)

Thank you for your time,
- Matt
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.