You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
781 B

//
// PickerView.h
// Hu8huWorker
//
// Created by xiaopeng on 2017/4/24.
// Copyright © 2017年 王小朋. All rights reserved.
//
#import <UIKit/UIKit.h>
@protocol PickerViewOneDelegate <NSObject>
@optional
- (void)PickerViewOneDelegateOncleck:(NSInteger)index;
- (void)PickerViewRightButtonOncleck:(NSInteger)index;
- (void)PickerViewCloseButtonOncleck;
@end
@interface WXPPickerView : UIView
- (instancetype)initWithFrame:(CGRect)frame midArry:(NSMutableArray *)midArry;
@property (nonatomic, assign) id<PickerViewOneDelegate>delegate;
-(void)show;
-(void)close;
@property (nonatomic, copy) NSString *isTitle;
@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *rightBtnTitle;
@property (assign , nonatomic) BOOL isShow;
@end