-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVDDropDown.h
32 lines (24 loc) · 1.01 KB
/
VDDropDown.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
//
// VDDropDown.h
// VDDropDown
//
// Created by Vishwa Deepak on 13/10/15.
// Copyright © 2015 mFino. All rights reserved.
//
#import <UIKit/UIKit.h>
@class VDDropDown;
@protocol VDDropDownnDelegate
- (void) vdDropDownDelegateMethod: (VDDropDown *) sender;
- (void) vdDropDownTableDidSelectRowAtIndexPath: (NSIndexPath *)indexPath;
@end
@interface VDDropDown : UIView<UITableViewDelegate, UITableViewDataSource, UIGestureRecognizerDelegate>
{
NSString *animationDirection;
UIImageView *imgView;
}
@property (nonatomic, retain) id <VDDropDownnDelegate> delegate;
@property (nonatomic, retain) NSString *animationDirection;
-(void)hideDropDown:(UIButton *)b;
- (id)showDropDown:(UIButton *)butn withHeight:(CGFloat *)height usingArray:(NSArray *)arr andImageArray:(NSArray *)imgArr inDirection: (NSString *)direction;
- (id)showDropDown:(UIButton *)butn withHeight:(CGFloat *)height usingArray:(NSArray *)arr andImageArray:(NSArray *)imgArr inDirection: (NSString *)direction inDropTitle: (NSString *)titleStr;
@end