- April 27, 2024
- Mins Read
M13ProgressSuite ================
A set of classes used to display progress information to users on iOS.
Adds a progress bar to the UINavigationController’s UINavigationBar. The progress bar is controlled through the UINavigationController.
A customizable HUD that displays progress, and status information to the user. It uses the M13ProgressView class to allow easy changing of the progress view style.
A progress view styled like Terminal on OS X.
A set of progess view based off of the same superclass. Allowing easy switching between progress view. Each progress view has success and failure actions, an indeterminate mode, and appearance customization features.
Bar
Bordered Bar
Filtered Image
Image
Pie
Ring
Segmented Bar*
Segmented Ring
Striped Bar
All progress bars follow the same general usage:
// Create the progress view.
M13ProgressViewBar *progressView = [[M13ProgressViewBar alloc] initWithFrame:CGRectMake(0.0, 0.0, 50.0, 5.0)];
// Configure the progress view here.
// Add it to the view.
[self.view addSubview: progressView];
// Update the progress as needed
[progressView setProgress: 0.1 animated: YES];
// Create the HUD
M13ProgressHUD *HUD = [[M13ProgressHUD alloc] initWithProgressView:[[M13ProgressViewRing alloc] init]];
// Configure the progress view
HUD.progressViewSize = CGSizeMake(60.0, 60.0);
HUD.animationPoint = CGPointMake([UIScreen mainScreen].bounds.size.width / 2, [UIScreen mainScreen].bounds.size.height / 2);
// Add the HUD to the window. (Or any UIView)
UIWindow *window = ((AppDelegate *)[UIApplication sharedApplication].delegate).window;
[window addSubview:HUD];
// Show the HUD
[HUD show:YES];
//Update the HUD progress
[HUD setProgress:0.5 animated:YES];
// Update the HUD status
HUD.status = @”Processing”;
// Hide the HUD
[HUD show:NO];
Horizon SDK is a state of the art real-time video recording / photo shooting iOS library. Some of the features ...