Ben S. Stahlhood, II: February 2008 Archives

I had someone in IRC chat ask how to get a progress bar like the ones shown in the table rows in the MobileStore.app.  I threw together this class that accomplishes that goal.  Just copy all the DownloadProgress*.png files from MobileStore.app to your app directory.  Download Here

Example use:

CMProgressControl progressControl = [[CMProgressControl alloc] initWithFrame: CGRectMake(0.0f, 0.0f, 320.0f, 30.0f)];
[progressControl setMinValue: 0];
[progressControl setMaxValue: 100];
[progressControl setValue: 15.0];

Add it to your main view:

[mainView addSubview: progressControl];

Hope some of you can find this useful.

- socketface

About this Archive

This page is a archive of recent entries written by Ben S. Stahlhood, II in February 2008.

Ben S. Stahlhood, II: January 2008 is the previous archive.

Ben S. Stahlhood, II: April 2008 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Pages