Jump to content

TSPProgressIndicator - custom cocoa progress indicator

  • Please log in to reply
No replies to this topic



    InsanelyMac Protégé

  • Members
  • PipPip
  • 90 posts
  • Gender:Male
  • Location:Romania
TSPProgressIndicator is a highly customizable progress indicator class which lets you create a cool progress indicator with a few line of code.

Posted Image

Main functions for customizing the progress indicator:
  • Progressbar main color
  • Progressbar holder color
  • Shadow color and blur radius
  • Upper and lower text color, font size and alignment
  • Progressbar corner radius
  • Indeterminate animation both in main thread and another thread

Theming example:
[myProgress setMaxValue: 100.0];
[myProgress setCornerRadius: 15];
[myProgress setProgressColor: [NSColor colorWithCalibratedRed:0.076 green:0.076 blue:0.071 alpha:1.000]];
[myProgress setFontSize: 11]; 
[myProgress setProgressTextAlign: 2];
and so on...

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy