-
Notifications
You must be signed in to change notification settings - Fork 1
/
YTOCustomPopup.h
38 lines (28 loc) · 922 Bytes
/
YTOCustomPopup.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//
// YTOCustomPopup.h
// i-asigurare
//
// Created by Andi Aparaschivei on 10/2/12.
//
//
#import <UIKit/UIKit.h>
@protocol YTOCustomPopupDelegate
-(void)chosenButton:(UIButton *)button;
@end
@interface YTOCustomPopup : UIViewController
{
UIViewController * parent;
IBOutlet UILabel * lblTitle;
IBOutlet UILabel * lblDescription;
IBOutlet UIImageView * imgBackground;
IBOutlet UIImageView * imgPopup;
IBOutlet UIButton * btnCustomAlertOK;
IBOutlet UILabel * lblCustomAlertOK;
IBOutlet UIButton * btnCustomAlertNO;
IBOutlet UILabel * lblCustomAlertNO;
id<YTOCustomPopupDelegate> delegate;
}
@property (nonatomic, retain) id<YTOCustomPopupDelegate> delegate;
- (IBAction) buttonClicked:(id)sender;
- (void) showAlert:(NSString *)title withMessage:(NSString *)message andImage:(UIImage *) image delegate:(UIViewController *)parentView;
@end