-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEyeCandy.h
24 lines (21 loc) · 1020 Bytes
/
EyeCandy.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#import <CoreFoundation/CoreFoundation.h>
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <UIKit/UIWindow.h>
#import <UIKit/UIApplication.h>
#import <UIKit/UIView.h>
#import <UIKit/UIAlertSheet.h>
#import <UIKit/UIProgressHUD.h>
@interface EyeCandy : UIApplication {
UIProgressHUD *progress;
UIAlertSheet *alert;
NSArray *alertButton;
UIWindow *_window;
}
- (void) showStandardAlert:(NSString *)title closeBtnTitle:(NSString *)closeTitle withError:(NSError *)error;
- (void) showStandardAlertWithString:(NSString *)title closeBtnTitle:(NSString *)closeTitle withError:(NSString *)error;
- (void) showAlertWithTitle:(NSString *)title closeBtnTitle:(NSString *)closeTitle withText:(NSString *)string andStyle:(int) style;
- (void) showAlertYesNoWithTitle:(NSString *)title withText:(NSString *)string andStyle:(int) style andDelegate:(id) delegate andContext:(id) context;
- (void) showProgressHUD:(NSString *)label withView:(UIView *)v withRect:(struct CGRect)rect;
- (void) hideProgressHUD;
@end