//
//  FinishTimeView.h
//  XFFruit
//
//  Created by 陈俊俊 on 15/11/2.
//  Copyright © 2015年 Xummer. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol FinishTimeViewDelegate <NSObject>

- (void)cancelTimeView;
- (void)okTimeView:(NSString *)time withType:(NSString *)type;

@end

@interface FinishTimeView : UIView<UIPickerViewDataSource,UIPickerViewDelegate>
@property (nonatomic,weak)id<FinishTimeViewDelegate>delegate;
- (instancetype)initWithFrame:(CGRect)frame withDate:(NSString *)dateStr;
- (instancetype)initWithFrame:(CGRect)frame withDate:(NSString *)dateStr type:(NSString *)type;

@end
