47 lines
1.4 KiB
Objective-C
47 lines
1.4 KiB
Objective-C
//
|
|
// MydatePickerView.h
|
|
// mypick
|
|
//
|
|
// Created by imac on 15/11/4.
|
|
// Copyright © 2015年 imac. All rights reserved.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
@class MydatePickerView;
|
|
@protocol MydatePickerViewDelegate <NSObject>
|
|
|
|
@optional
|
|
-(void)doneButtonHaveClick:(MydatePickerView*)pickView resultString:(NSString *)resultString;
|
|
-(void)cancleButtonClick;
|
|
-(void)doneButtonClick;
|
|
|
|
@end
|
|
@interface MydatePickerView : UIView<UIPickerViewDelegate,UIPickerViewDataSource>
|
|
@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 *startString1;//结束时
|
|
@property(nonatomic,copy)NSString *endString1;//结束分
|
|
@property(nonatomic,copy)NSString *startSecondString;//秒
|
|
@property(nonatomic,copy)NSString *endSecondString;
|
|
@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;
|
|
|
|
@property(nonatomic,assign)BOOL haveDelected;
|
|
@property(nonatomic,strong)NSString* pickerType;
|
|
|
|
|
|
|
|
@end
|