Releases: alskipp/ASProgressPopUpView
Version 0.8
- Lots of internal refactoring
- API CHANGE: Added methods to show and hide popUpView
- (void)showPopUpViewAnimated:(BOOL)animated;
- (void)hidePopUpViewAnimated:(BOOL)animated;
@end
In previous versions the popUpView would show and hide automatically when progress started and completed. You must now show and hide the popUpView manually. This change gives more control to show and hide the popUpView whenever it is needed.
Version 0.7.1
- Ensure
progressTintColor
is updated after animating progress value
Version 0.7
Adds support for - (void)setProgress:(float)progress animated:(BOOL)animated
.
When updating the progress in increments > 0.05 the results will be much smoother using the animated form.
Version 0.6
- Added popUpViewCornerRadius property
Version 0.5
- Added protocol: ASProgressPopUpViewDataSource
By default the popUpView displays progress from 0% - 100%
To display custom text instead, implement the datasource protocol
@protocol ASProgressPopUpViewDataSource <NSObject>
- (NSString *)progressView:(ASProgressPopUpView *)progressView stringForProgress:(float)progress;
@optional
// by default the popUpView precalculates the largest size required and uses this size to display all values
// if you'd prefer the popUpView to change size as the text values change then return NO from this method
- (BOOL)progressViewShouldPreCalculatePopUpViewSize:(ASProgressPopUpView *)progressView;
@end
Version 0.4
- Added property: alwaysShowPopupView
Default behaviour is to show the popupView when progress starts and hide it when it completes
If you prefer to always show the popup view then set 'showPopupViewAtStartAndEnd' to YES (default is NO)
Version 0.3
Released as a CocoaPod
Version 0.2
- Adjusted animation timing
- Increased default font size
Version 0.1
Initial release