UINavigationController+CCProgress.h 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // UINavigationController+CCProgress.h
  3. // NavigationProgress
  4. //
  5. // Created by Marino Faggiana on 22/06/16.
  6. // Copyright (c) 2016 TWS. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #define kSGProgressTitleChanged @"kCCProgressTitleChanged"
  10. #define kSGProgressOldTitle @"kCCProgressOldTitle"
  11. @interface UINavigationController (CCProgress)
  12. - (void)showCCProgress;
  13. - (void)showCCProgressWithDuration:(float)duration;
  14. - (void)showCCProgressWithDuration:(float)duration andTintColor:(UIColor *)tintColor;
  15. - (void)showCCProgressWithDuration:(float)duration andTintColor:(UIColor *)tintColor andTitle:(NSString *)title;
  16. - (void)showCCProgressWithMaskAndDuration:(float)duration;
  17. - (void)showCCProgressWithMaskAndDuration:(float)duration andTitle:(NSString *)title;
  18. - (void)finishCCProgress;
  19. - (void)cancelCCProgress;
  20. - (void)setCCProgressPercentage:(float)percentage;
  21. - (void)setCCProgressPercentage:(float)percentage andTitle:(NSString *)title;
  22. - (void)setCCProgressPercentage:(float)percentage andTintColor:(UIColor *)tintColor;
  23. - (void)setCCProgressMaskWithPercentage:(float)percentage;
  24. - (void)setCCProgressMaskWithPercentage:(float)percentage andTitle:(NSString *)title;
  25. @end