iPhone Source Code: MobileStore.app Progress Bar

| | Comments (0) | TrackBacks (0)
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

0 TrackBacks

Listed below are links to blogs that reference this entry: iPhone Source Code: MobileStore.app Progress Bar.

TrackBack URL for this entry: http://www.cocoamachine.com/mt-tb.cgi/9

Comments

Comments

About this Entry

This page contains a single entry by Ben S. Stahlhood, II published on February 24, 2008 2:23 AM.

iPhone XCode 3.0 Template Update was the previous entry in this blog.

Want an iPhone app developed? is the next entry in this blog.

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

Pages