UNICORN - iOS
MProgress.h
1 //
2 // MProgress.h
3 //
4 // Created by maichi on 2014/07/24.
5 // Version:1.0
33 #import <UIKit/UIKit.h>
34 
35 // 1:回転 2:複数の画像を順番に表示
36 #ifndef MPROGRESS_ANIMATION_TYPE
37 #define MPROGRESS_ANIMATION_TYPE 1
38 #endif
39 
40 // 2の場合に使う画像数
41 #ifndef MPROGRESS_IMAGE_NUM
42 #define MPROGRESS_IMAGE_NUM 1
43 #endif
44 
45 // 画像のスペース
46 #ifndef MPROGRESS_MARGIN
47 #define MPROGRESS_MARGIN 50.0
48 #endif
49 
50 // 背景の透過度
51 #ifndef MPROGRESS_BACKGROUND_ALPHA
52 #define MPROGRESS_BACKGROUND_ALPHA 0.0
53 #endif
54 
55 @interface MProgress : UIView
56 
57 + (void)showProgress:(NSString *)argLoadingImageName :(NSString *)argLoadingText;
58 + (void)showProgressWithLoadingText:(NSString *)argLoadingText;
59 + (void)showProgressWithLoadingImage:(NSString *)argLoadingImageName;
60 + (void)showProgress;
61 + (void)dismissProgress;
62 
63 @end
Definition: MProgress.h:55
void dismissProgress()
Definition: MProgress.m:48