// // MydatePickerView.h // mypick // // Created by imac on 15/11/4. // Copyright © 2015年 imac. All rights reserved. // #import @class MydatePickerView; @protocol MydatePickerViewDelegate @optional -(void)doneButtonHaveClick:(MydatePickerView*)pickView resultString:(NSString *)resultString; -(void)cancleButtonClick; -(void)doneButtonClick; @end @interface MydatePickerView : UIView @property(nonatomic,copy)UIPickerView *picView; @property(nonatomic,strong)NSArray *dataArr; @property(nonatomic,copy)UIButton *cancleButton; @property(nonatomic,copy)UIButton *sureButton; @property(nonatomic)NSInteger row; @property(nonatomic)NSInteger compennent; @property(nonatomic,copy)NSString *startString; @property(nonatomic,copy)NSString *endString; @property(nonatomic,copy)NSString *resultString; @property(nonatomic,strong)UIImageView *backgroundImage; @property(nonatomic,strong)UILabel *timeLabel; @property(nonatomic,strong)UILabel *startLabel; @property(nonatomic,strong)UILabel *endLabel; @end