Skip to content

bfioca/SweepingProgressBar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

If your project doesn't use ARC: you must add the -fobjc-arc compiler flag to SweepingProgressBar.m in Target Settings > Build Phases > Compile Sources.

SweepingProgressBar

SweepingProgressBar is an improved implementation of TYIndeterminateProgressBar that appears by dropping down from the top of the view and animating smoothly back and forth until dismiss is called.

Here's a screenshot of it working: http://cl.ly/image/3L3n3y1e2G26

SweepingProgressBar

Installation

  • Drag the SweepingProgressBar/SweepingProgressBar folder into your project.
  • Add the QuartzCore framework to your project.

Usage

(see sample Xcode project in /Demo)

SweepingProgressBar is created as a singleton (i.e. it doesn't need to be explicitly allocated and instantiated; you directly call [SweepingProgressBar method]).

Showing the bar

You can show the status of inderterminate tasks using:

+ (void)showInView:(UIView *)view;
+ (void)showInView:(UIView *)view backgroundColor: cbgColor indicatorColor: cindicatorColor borderColor: cborderColor;

To dismiss the progress bar, use

+ (void)dismiss;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published