GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — change the source to framework · devSC/WSProgressHUD@d1ee37b

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • Demo
    • WSProgressHUD-Demo.xcodeproj
      • project.pbxproj
    • WSProgressHUD
      • FBShimmering.h
      • WSProgressHUD.h
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎Demo/WSProgressHUD-Demo.xcodeproj/project.pbxproj‎

Copy file name to clipboardExpand all lines: Demo/WSProgressHUD-Demo.xcodeproj/project.pbxproj
+33-22Lines changed: 33 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
FE52FF251B648EDD00703FB5 /* FBShimmeringLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = FE52FF1B1B648EDD00703FB5 /* FBShimmeringLayer.m */; };
11-
FE52FF261B648EDD00703FB5 /* FBShimmeringView.m in Sources */ = {isa = PBXBuildFile; fileRef = FE52FF1D1B648EDD00703FB5 /* FBShimmeringView.m */; };
12-
FE52FF271B648EDD00703FB5 /* MMMaterialDesignSpinner.m in Sources */ = {isa = PBXBuildFile; fileRef = FE52FF1F1B648EDD00703FB5 /* MMMaterialDesignSpinner.m */; };
13-
FE52FF281B648EDD00703FB5 /* WSIndefiniteAnimationView.m in Sources */ = {isa = PBXBuildFile; fileRef = FE52FF211B648EDD00703FB5 /* WSIndefiniteAnimationView.m */; };
14-
FE52FF291B648EDD00703FB5 /* WSProgressBundle.bundle in Resources */ = {isa = PBXBuildFile; fileRef = FE52FF221B648EDD00703FB5 /* WSProgressBundle.bundle */; };
1510
FE52FF2E1B649B9300703FB5 /* LICENSE in Resources */ = {isa = PBXBuildFile; fileRef = FE52FF2B1B649B9300703FB5 /* LICENSE */; };
1611
FE52FF2F1B649B9300703FB5 /* README.md in Sources */ = {isa = PBXBuildFile; fileRef = FE52FF2C1B649B9300703FB5 /* README.md */; };
1712
FE52FF301B649B9300703FB5 /* WSProgressHUD.podspec in Resources */ = {isa = PBXBuildFile; fileRef = FE52FF2D1B649B9300703FB5 /* WSProgressHUD.podspec */; };
@@ -27,14 +22,25 @@
2722
FED429261B63E2A0002A5294 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = FED428F31B63E262002A5294 /* LaunchScreen.xib */; };
2823
FED429271B63E2A0002A5294 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = FED428F51B63E262002A5294 /* Main.storyboard */; };
2924
FED429281B63E2A0002A5294 /* Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = FEDB74B91B593589003DDB79 /* Info.plist */; };
30-
FED85EC01EE83B680071B3A3 /* WSProgressHUD.h in Headers */ = {isa = PBXBuildFile; fileRef = FED85EBE1EE83B680071B3A3 /* WSProgressHUD.h */; settings = {ATTRIBUTES = (Public, ); }; };
3125
FED85EC31EE83B680071B3A3 /* WSProgressHUD.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FED85EBC1EE83B680071B3A3 /* WSProgressHUD.framework */; };
3226
FED85EC41EE83B680071B3A3 /* WSProgressHUD.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = FED85EBC1EE83B680071B3A3 /* WSProgressHUD.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
3327
FED85EC91EE83BC30071B3A3 /* WSProgressHUD.m in Sources */ = {isa = PBXBuildFile; fileRef = FE52FF241B648EDD00703FB5 /* WSProgressHUD.m */; };
28+
FED85ECC1EE83EFE0071B3A3 /* WSProgressBundle.bundle in Resources */ = {isa = PBXBuildFile; fileRef = FE52FF221B648EDD00703FB5 /* WSProgressBundle.bundle */; };
29+
FED85ECD1EE83F080071B3A3 /* FBShimmering-Prefix.pch in Headers */ = {isa = PBXBuildFile; fileRef = FE52FF181B648EDD00703FB5 /* FBShimmering-Prefix.pch */; };
30+
FED85ECE1EE83F080071B3A3 /* FBShimmering.h in Headers */ = {isa = PBXBuildFile; fileRef = FE52FF191B648EDD00703FB5 /* FBShimmering.h */; };
31+
FED85ECF1EE83F080071B3A3 /* FBShimmeringLayer.h in Headers */ = {isa = PBXBuildFile; fileRef = FE52FF1A1B648EDD00703FB5 /* FBShimmeringLayer.h */; };
32+
FED85ED01EE83F080071B3A3 /* FBShimmeringLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = FE52FF1B1B648EDD00703FB5 /* FBShimmeringLayer.m */; };
33+
FED85ED11EE83F080071B3A3 /* FBShimmeringView.h in Headers */ = {isa = PBXBuildFile; fileRef = FE52FF1C1B648EDD00703FB5 /* FBShimmeringView.h */; };
34+
FED85ED21EE83F080071B3A3 /* FBShimmeringView.m in Sources */ = {isa = PBXBuildFile; fileRef = FE52FF1D1B648EDD00703FB5 /* FBShimmeringView.m */; };
35+
FED85ED51EE83F080071B3A3 /* WSIndefiniteAnimationView.h in Headers */ = {isa = PBXBuildFile; fileRef = FE52FF201B648EDD00703FB5 /* WSIndefiniteAnimationView.h */; };
36+
FED85ED61EE83F080071B3A3 /* WSIndefiniteAnimationView.m in Sources */ = {isa = PBXBuildFile; fileRef = FE52FF211B648EDD00703FB5 /* WSIndefiniteAnimationView.m */; };
37+
FED85F071EE8444B0071B3A3 /* WSProgressHUD.h in Headers */ = {isa = PBXBuildFile; fileRef = FE52FF231B648EDD00703FB5 /* WSProgressHUD.h */; settings = {ATTRIBUTES = (Public, ); }; };
38+
FED85F121EE8479E0071B3A3 /* MMMaterialDesignSpinner.h in Headers */ = {isa = PBXBuildFile; fileRef = FED85F101EE8479E0071B3A3 /* MMMaterialDesignSpinner.h */; };
39+
FED85F131EE8479E0071B3A3 /* MMMaterialDesignSpinner.m in Sources */ = {isa = PBXBuildFile; fileRef = FED85F111EE8479E0071B3A3 /* MMMaterialDesignSpinner.m */; };
3440
/* End PBXBuildFile section */
3541

3642
/* Begin PBXContainerItemProxy section */
37-
FED85EC11EE83B680071B3A3 /* PBXContainerItemProxy */ = {
43+
FED85ECA1EE83EDD0071B3A3 /* PBXContainerItemProxy */ = {
3844
isa = PBXContainerItemProxy;
3945
containerPortal = FEDB74931B593589003DDB79 /* Project object */;
4046
proxyType = 1;
@@ -64,8 +70,6 @@
6470
FE52FF1B1B648EDD00703FB5 /* FBShimmeringLayer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FBShimmeringLayer.m; sourceTree = "<group>"; };
6571
FE52FF1C1B648EDD00703FB5 /* FBShimmeringView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FBShimmeringView.h; sourceTree = "<group>"; };
6672
FE52FF1D1B648EDD00703FB5 /* FBShimmeringView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FBShimmeringView.m; sourceTree = "<group>"; };
67-
FE52FF1E1B648EDD00703FB5 /* MMMaterialDesignSpinner.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MMMaterialDesignSpinner.h; sourceTree = "<group>"; };
68-
FE52FF1F1B648EDD00703FB5 /* MMMaterialDesignSpinner.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MMMaterialDesignSpinner.m; sourceTree = "<group>"; };
6973
FE52FF201B648EDD00703FB5 /* WSIndefiniteAnimationView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WSIndefiniteAnimationView.h; sourceTree = "<group>"; };
7074
FE52FF211B648EDD00703FB5 /* WSIndefiniteAnimationView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WSIndefiniteAnimationView.m; sourceTree = "<group>"; };
7175
FE52FF221B648EDD00703FB5 /* WSProgressBundle.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = WSProgressBundle.bundle; sourceTree = "<group>"; };
@@ -91,8 +95,9 @@
9195
FED429011B63E262002A5294 /* ViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
9296
FED429021B63E262002A5294 /* ViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
9397
FED85EBC1EE83B680071B3A3 /* WSProgressHUD.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = WSProgressHUD.framework; sourceTree = BUILT_PRODUCTS_DIR; };
94-
FED85EBE1EE83B680071B3A3 /* WSProgressHUD.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WSProgressHUD.h; sourceTree = "<group>"; };
9598
FED85EBF1EE83B680071B3A3 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
99+
FED85F101EE8479E0071B3A3 /* MMMaterialDesignSpinner.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MMMaterialDesignSpinner.h; sourceTree = "<group>"; };
100+
FED85F111EE8479E0071B3A3 /* MMMaterialDesignSpinner.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MMMaterialDesignSpinner.m; sourceTree = "<group>"; };
96101
FEDB749B1B593589003DDB79 /* WSProgressHUD-Demo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "WSProgressHUD-Demo.app"; sourceTree = BUILT_PRODUCTS_DIR; };
97102
FEDB74B91B593589003DDB79 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
98103
FEDB74BA1B593589003DDB79 /* WSProgressHUDTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = WSProgressHUDTests.m; sourceTree = "<group>"; };
@@ -150,8 +155,8 @@
150155
FE52FF1B1B648EDD00703FB5 /* FBShimmeringLayer.m */,
151156
FE52FF1C1B648EDD00703FB5 /* FBShimmeringView.h */,
152157
FE52FF1D1B648EDD00703FB5 /* FBShimmeringView.m */,
153-
FE52FF1E1B648EDD00703FB5 /* MMMaterialDesignSpinner.h */,
154-
FE52FF1F1B648EDD00703FB5 /* MMMaterialDesignSpinner.m */,
158+
FED85F101EE8479E0071B3A3 /* MMMaterialDesignSpinner.h */,
159+
FED85F111EE8479E0071B3A3 /* MMMaterialDesignSpinner.m */,
155160
FE52FF201B648EDD00703FB5 /* WSIndefiniteAnimationView.h */,
156161
FE52FF211B648EDD00703FB5 /* WSIndefiniteAnimationView.m */,
157162
FE52FF221B648EDD00703FB5 /* WSProgressBundle.bundle */,
@@ -179,7 +184,6 @@
179184
FED85EBD1EE83B680071B3A3 /* WSProgressHUD */ = {
180185
isa = PBXGroup;
181186
children = (
182-
FED85EBE1EE83B680071B3A3 /* WSProgressHUD.h */,
183187
FED85EBF1EE83B680071B3A3 /* Info.plist */,
184188
);
185189
path = WSProgressHUD;
@@ -232,7 +236,13 @@
232236
isa = PBXHeadersBuildPhase;
233237
buildActionMask = 2147483647;
234238
files = (
235-
FED85EC01EE83B680071B3A3 /* WSProgressHUD.h in Headers */,
239+
FED85ECE1EE83F080071B3A3 /* FBShimmering.h in Headers */,
240+
FED85ECF1EE83F080071B3A3 /* FBShimmeringLayer.h in Headers */,
241+
FED85F121EE8479E0071B3A3 /* MMMaterialDesignSpinner.h in Headers */,
242+
FED85ECD1EE83F080071B3A3 /* FBShimmering-Prefix.pch in Headers */,
243+
FED85ED11EE83F080071B3A3 /* FBShimmeringView.h in Headers */,
244+
FED85ED51EE83F080071B3A3 /* WSIndefiniteAnimationView.h in Headers */,
245+
FED85F071EE8444B0071B3A3 /* WSProgressHUD.h in Headers */,
236246
);
237247
runOnlyForDeploymentPostprocessing = 0;
238248
};
@@ -269,7 +279,7 @@
269279
buildRules = (
270280
);
271281
dependencies = (
272-
FED85EC21EE83B680071B3A3 /* PBXTargetDependency */,
282+
FED85ECB1EE83EDD0071B3A3 /* PBXTargetDependency */,
273283
);
274284
name = "WSProgressHUD-Demo";
275285
productName = WSProgressHUD;
@@ -320,14 +330,14 @@
320330
isa = PBXResourcesBuildPhase;
321331
buildActionMask = 2147483647;
322332
files = (
333+
FED85ECC1EE83EFE0071B3A3 /* WSProgressBundle.bundle in Resources */,
323334
);
324335
runOnlyForDeploymentPostprocessing = 0;
325336
};
326337
FEDB74991B593589003DDB79 /* Resources */ = {
327338
isa = PBXResourcesBuildPhase;
328339
buildActionMask = 2147483647;
329340
files = (
330-
FE52FF291B648EDD00703FB5 /* WSProgressBundle.bundle in Resources */,
331341
FED429261B63E2A0002A5294 /* LaunchScreen.xib in Resources */,
332342
FED429271B63E2A0002A5294 /* Main.storyboard in Resources */,
333343
FED429281B63E2A0002A5294 /* Info.plist in Resources */,
@@ -347,6 +357,10 @@
347357
isa = PBXSourcesBuildPhase;
348358
buildActionMask = 2147483647;
349359
files = (
360+
FED85F131EE8479E0071B3A3 /* MMMaterialDesignSpinner.m in Sources */,
361+
FED85ED61EE83F080071B3A3 /* WSIndefiniteAnimationView.m in Sources */,
362+
FED85ED01EE83F080071B3A3 /* FBShimmeringLayer.m in Sources */,
363+
FED85ED21EE83F080071B3A3 /* FBShimmeringView.m in Sources */,
350364
FED85EC91EE83BC30071B3A3 /* WSProgressHUD.m in Sources */,
351365
);
352366
runOnlyForDeploymentPostprocessing = 0;
@@ -355,14 +369,10 @@
355369
isa = PBXSourcesBuildPhase;
356370
buildActionMask = 2147483647;
357371
files = (
358-
FE52FF251B648EDD00703FB5 /* FBShimmeringLayer.m in Sources */,
359372
FED429031B63E262002A5294 /* AppDelegate.m in Sources */,
360373
FED4290E1B63E262002A5294 /* ViewController.m in Sources */,
361-
FE52FF261B648EDD00703FB5 /* FBShimmeringView.m in Sources */,
362374
FED4290D1B63E262002A5294 /* TabViewController2.m in Sources */,
363375
FED4290B1B63E262002A5294 /* main.m in Sources */,
364-
FE52FF271B648EDD00703FB5 /* MMMaterialDesignSpinner.m in Sources */,
365-
FE52FF281B648EDD00703FB5 /* WSIndefiniteAnimationView.m in Sources */,
366376
FE52FF2F1B649B9300703FB5 /* README.md in Sources */,
367377
FED4290C1B63E262002A5294 /* TabViewController1.m in Sources */,
368378
);
@@ -371,10 +381,10 @@
371381
/* End PBXSourcesBuildPhase section */
372382

373383
/* Begin PBXTargetDependency section */
374-
FED85EC21EE83B680071B3A3 /* PBXTargetDependency */ = {
384+
FED85ECB1EE83EDD0071B3A3 /* PBXTargetDependency */ = {
375385
isa = PBXTargetDependency;
376386
target = FED85EBB1EE83B680071B3A3 /* WSProgressHUD */;
377-
targetProxy = FED85EC11EE83B680071B3A3 /* PBXContainerItemProxy */;
387+
targetProxy = FED85ECA1EE83EDD0071B3A3 /* PBXContainerItemProxy */;
378388
};
379389
/* End PBXTargetDependency section */
380390

@@ -572,6 +582,7 @@
572582
FED85EC61EE83B680071B3A3 /* Release */,
573583
);
574584
defaultConfigurationIsVisible = 0;
585+
defaultConfigurationName = Release;
575586
};
576587
FEDB74961B593589003DDB79 /* Build configuration list for PBXProject "WSProgressHUD-Demo" */ = {
577588
isa = XCConfigurationList;
Collapse file

‎Demo/WSProgressHUD/FBShimmering.h‎

Copy file name to clipboardExpand all lines: Demo/WSProgressHUD/FBShimmering.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ static const float FBShimmerDefaultBeginTime = CGFLOAT_MAX;
3939
//! @abstract The highlight length of shimmering. Range of [0,1], defaults to 1.0.
4040
@property (assign, nonatomic, readwrite) CGFloat shimmeringHighlightLength;
4141

42-
//! @abstract @deprecated Same as "shimmeringHighlightLength", just for downward compatibility
42+
//! @abstract deprecated Same as "shimmeringHighlightLength", just for downward compatibility
4343
@property (assign, nonatomic, readwrite, getter = shimmeringHighlightLength, setter = setShimmeringHighlightLength:) CGFloat shimmeringHighlightWidth;
4444

4545
//! @abstract The direction of shimmering animation. Defaults to FBShimmerDirectionRight.
Collapse file

‎Demo/WSProgressHUD/WSProgressHUD.h‎

Copy file name to clipboardExpand all lines: Demo/WSProgressHUD/WSProgressHUD.h
+104-8Lines changed: 104 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,115 @@
22
// WSProgressHUD.h
33
// WSProgressHUD
44
//
5-
// Created by Wilson-Yuan on 2017/6/7.
6-
// Copyright © 2017年 wilson-yuan. All rights reserved.
5+
// Created by Wilson-Yuan on 15/7/17.
6+
// Copyright (c) 2015年 wilson-yuan. All rights reserved.
77
//
88

99
#import <UIKit/UIKit.h>
10-
#import "WSProgressHUD.h"
1110

12-
//! Project version number for WSProgressHUD.
13-
FOUNDATION_EXPORT double WSProgressHUDVersionNumber;
11+
typedef NS_ENUM(NSInteger, WSProgressHUDMaskType) {
12+
WSProgressHUDMaskTypeDefault, //allow user touch when hud display
13+
WSProgressHUDMaskTypeClear, //dont allowed user touch
14+
WSProgressHUDMaskTypeBlack, //dont allowed user touch
15+
WSProgressHUDMaskTypeGradient //dont allowed user touch
16+
};
1417

15-
//! Project version string for WSProgressHUD.
16-
FOUNDATION_EXPORT const unsigned char WSProgressHUDVersionString[];
18+
typedef NS_ENUM(NSInteger, WSProgressHUDMaskWithoutType) { //
19+
WSProgressHUDMaskWithoutDefault, // default mask all
20+
WSProgressHUDMaskWithoutNavigation, //show mask without navigation
21+
WSProgressHUDMaskWithoutTabbar, //show mask without tabbar
22+
WSProgressHUDMaskWithoutNavAndTabbar, //show mask without tabbar and navigation
23+
};
1724

18-
// In this header, you should import all the public headers of your framework using statements like #import <WSProgressHUD/PublicHeader.h>
25+
typedef NS_ENUM(NSInteger, WSProgressHUDIndicatorStyle) {
26+
WSProgressHUDIndicatorCustom,
27+
WSProgressHUDIndicatorMMSpinner,
28+
WSProgressHUDIndicatorSmallLight,
29+
WSProgressHUDIndicatorGray,
30+
WSProgressHUDIndicatorBigGray,
31+
};
1932

2033

34+
@interface WSProgressHUD : UIView
35+
36+
/*----------------------Show On the Window------------------------------*/
37+
+ (void)show;
38+
+ (void)showWithMaskType: (WSProgressHUDMaskType)maskType;
39+
+ (void)showWithMaskType: (WSProgressHUDMaskType)maskType maskWithout: (WSProgressHUDMaskWithoutType)withoutType;
40+
41+
42+
+ (void)showWithStatus: (NSString *)string;
43+
+ (void)showWithStatus: (NSString *)string maskType: (WSProgressHUDMaskType)maskType;
44+
+ (void)showWithStatus: (NSString *)string maskType: (WSProgressHUDMaskType)maskType maskWithout: (WSProgressHUDMaskWithoutType)withoutType;
45+
46+
47+
+ (void)showShimmeringString: (NSString *)string;
48+
+ (void)showShimmeringString: (NSString *)string maskType: (WSProgressHUDMaskType)maskType;
49+
+ (void)showShimmeringString: (NSString *)string maskType: (WSProgressHUDMaskType)maskType maskWithout: (WSProgressHUDMaskWithoutType)withoutType;
50+
51+
+ (void)showProgress:(CGFloat)progress;
52+
+ (void)showProgress:(CGFloat)progress maskType:(WSProgressHUDMaskType)maskType;
53+
+ (void)showProgress:(CGFloat)progress maskType:(WSProgressHUDMaskType)maskType maskWithout: (WSProgressHUDMaskWithoutType)withoutType;
54+
55+
+ (void)showProgress:(CGFloat)progress status:(NSString*)string;
56+
+ (void)showProgress:(CGFloat)progress status:(NSString*)string maskType:(WSProgressHUDMaskType)maskType;
57+
+ (void)showProgress:(CGFloat)progress status:(NSString*)string maskType:(WSProgressHUDMaskType)maskType maskWithout: (WSProgressHUDMaskWithoutType)withoutType;
58+
59+
//imageSize is 28*28
60+
+ (void)showImage:(UIImage *)image status:(NSString *)title;
61+
+ (void)showImage:(UIImage *)image status:(NSString *)title maskType: (WSProgressHUDMaskType)maskType;
62+
+ (void)showImage:(UIImage *)image status:(NSString *)title maskType: (WSProgressHUDMaskType)maskType maskWithout: (WSProgressHUDMaskWithoutType)withoutType;
63+
64+
+ (void)showSuccessWithStatus: (NSString *)string;
65+
+ (void)showErrorWithStatus: (NSString *)string;
66+
+ (void)dismiss;
67+
68+
/*----------------------------Custom---------------------------------*/
69+
70+
+ (void)setProgressHUDIndicatorStyle: (WSProgressHUDIndicatorStyle)style;
71+
72+
/// if you set WSProgressHUDIndicatorBigGray style you should set second prority indicator Style
73+
+ (void)setSecondProrityIndicatorStyle: (WSProgressHUDIndicatorStyle)style; //Default is small SmallLight
74+
75+
+ (void)setProgressHUDFont: (UIFont *)font;
76+
77+
/*----------------------Show On the view------------------------------*/
78+
79+
- (instancetype)initWithView: (UIView *)view;
80+
- (instancetype)initWithFrame:(CGRect)frame;
81+
82+
- (void)show;
83+
- (void)showWithMaskType: (WSProgressHUDMaskType)maskType;
84+
85+
- (void)showWithString: (NSString *)string;
86+
- (void)showWithString: (NSString *)string maskType: (WSProgressHUDMaskType)maskType;
87+
88+
89+
- (void)showShimmeringString: (NSString *)string;
90+
- (void)showShimmeringString: (NSString *)string maskType: (WSProgressHUDMaskType)maskType;
91+
92+
- (void)showProgress:(CGFloat)progress;
93+
- (void)showProgress:(CGFloat)progress maskType:(WSProgressHUDMaskType)maskType;
94+
95+
- (void)showProgress:(CGFloat)progress status:(NSString*)status;
96+
- (void)showProgress:(CGFloat)progress status:(NSString*)status maskType:(WSProgressHUDMaskType)maskType;
97+
98+
99+
100+
- (void)showImage:(UIImage *)image status:(NSString *)title;
101+
- (void)showImage:(UIImage *)image status:(NSString *)title maskType: (WSProgressHUDMaskType)maskType;
102+
103+
- (void)showSuccessWithString: (NSString *)string;
104+
- (void)showErrorWithString: (NSString *)string;
105+
106+
- (void)dismiss;
107+
108+
/*----------------------------Custom---------------------------------*/
109+
- (void)setProgressHUDIndicatorStyle: (WSProgressHUDIndicatorStyle)style;
110+
111+
/// if you set WSProgressHUDIndicatorBigGray style you should set second prority indicator Style
112+
- (void)setSecondProrityIndicatorStyle: (WSProgressHUDIndicatorStyle)style; //Default is small SmallLight
113+
114+
- (void)setProgressHUDFont: (UIFont *)font;
115+
116+
@end

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.