-
Notifications
You must be signed in to change notification settings - Fork 72
/
NIDropDown.h
35 lines (32 loc) · 1.32 KB
/
NIDropDown.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
//
// NIDropDown.h
// NIDropDown
//
// Created by Bijesh N on 12/28/12.
// Copyright (c) 2012 Nitor Infotech. All rights reserved.
//
#import <UIKit/UIKit.h>
@class NIDropDown;
@protocol NIDropDownDelegate
- (void) niDropDownDelegateMethod: (NIDropDown *) sender;
- (void) niDropDownDelegateMethod: (UIView *) sender withTitle:(NSString *)title;
- (void) niDropDownHidden: (NIDropDown *)sender;
@end
@interface NIDropDown : UIView <UITableViewDelegate, UITableViewDataSource>
{
NSString *animationDirection;
UIImageView *imgView;
}
@property (nonatomic, weak) id <NIDropDownDelegate> delegate;
@property (nonatomic, retain) NSString *animationDirection;
-(void)hideDropDown:(UIView *)b;
- (id)showDropDown:(UIView *)b theHeight:(CGFloat *)height theArr:(NSArray *)arr theImgArr:(NSArray *)imgArr theDirection:(NSString *)direction withViewController:(UIViewController *)viewController;
-(void) setDropDownItemTextAlignment:(NSTextAlignment)alignment;
-(void) setDropDownItemBackgroundColor:(UIColor *)color;
-(void) setDropDownItemTextColor:(UIColor *)color;
-(void) setDropDownSelectionTextColor:(UIColor *)color;
-(void) setDropDownSelectionColor:(UIColor *)color;
-(void) setDropDownSeparatorColor:(UIColor *)color;
-(void) setDropDownTableBgColor:(UIColor *)color;
-(void) setDimViewColor:(UIColor *)color withAlpha:(CGFloat)alpha;
@end