Skip to content

Instantly share code, notes, and snippets.

@saikat
Created December 6, 2009 11:09
Show Gist options
  • Select an option

  • Save saikat/250167 to your computer and use it in GitHub Desktop.

Select an option

Save saikat/250167 to your computer and use it in GitHub Desktop.
var progress = [[CPProgressIndicator alloc] initWithFrame:CGRectMake(64.0, 64.0)];
[progress setStyle:CPProgressIndicatorBarStyle];
[progress setMaxValue:100];
[progress setMinValue:0];
[progress setDoubleValue:25];
[progress setIndeterminate:NO];
[progress sizeToFit];
[progress startAnimation:self];
[contentView addSubview:progress];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment