Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 559 Bytes

File metadata and controls

20 lines (14 loc) · 559 Bytes

CTDownloadProgressButton

iCloud style button to display progress of a download and stop it.

Screenshot

Screenshot

Usage

// setup button
CTDownloadProgressButton *button = [[CTDownloadProgressButton alloc] initWithFrame:CGRectMake(0.0f, 0.0f, 29.0f, 29.0f)];
[button addTarget:self action:@selector(_stopDownloadButtonClicked:) forControlEvents:UIControlEventTouchUpInside];

// set progress
button.progress = 0.45f;

License

MIT