| 1234567891011121314151617181920212223242526272829303132 |
- //
- // 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;
- @end
- @interface NIDropDown : UIView <UITableViewDelegate, UITableViewDataSource>
- {
- NSString *animationDirection;
- UIImageView *imgView;
- }
- @property (nonatomic, retain) id <NIDropDownDelegate> delegate;
- @property (nonatomic, retain) NSString *animationDirection;
- -(void)hideDropDown:(UIButton *)b;
- //- (id)showDropDown:(UIButton *)b:(CGFloat *)height:(NSArray *)arr:(NSArray *)imgArr:(NSString *)direction;
- - (id)showDropDown:(UIView*)container based:(UIButton *)b height:(CGFloat )height data:(NSDictionary *)json direction:(NSString *)direction current_sel:(long) current_sel;
- @property (nonatomic , copy) void (^selectChanged)(long index);
- @property (nonatomic,copy) void(^dropDownTouchOutsideBlk)(void);
- @property (strong,nonatomic) NSDictionary* selector;
- @property long current_sel;
- @end
|