-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCKTableAlertView.h
More file actions
28 lines (22 loc) · 791 Bytes
/
CKTableAlertView.h
File metadata and controls
28 lines (22 loc) · 791 Bytes
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
//
// CKTableAlertView.h
// CKAlertView
//
// Created by Chuck Lin on 6/22/14.
// Copyright (c) 2014 Chuck. All rights reserved.
//
#import <UIKit/UIKit.h>
@class CKTableAlertView;
@protocol CKTableAlertViewDelegate
- (void)tableAlert:(CKTableAlertView *)tableAlert didSelectRowAtIndexPath:(NSIndexPath *)indexPath;
- (void)clickedCancelButtonInTableAlert:(CKTableAlertView *)tableAlert;
@end
@interface CKAlertView : UIView
- (void) show;
- (void) hide;
@end
@interface CKTableAlertView : CKAlertView <UITableViewDataSource, UITableViewDelegate>
@property(nonatomic, strong) UITableView *table;
@property (nonatomic, retain) NSObject<CKTableAlertViewDelegate> *delegate;
- (id) initWithArray: (NSArray*) data title:(NSString*) title hasCancelButton:(Boolean) hasCancelButton;
@end