// // CommonEditorRangeCell.h // RedAnt Mobile // // Created by Jack on 2017/11/13. // Copyright © 2017年 Ray. All rights reserved. // #import typedef NS_ENUM(NSInteger, CommonEditorRangeType) { CommonEditorRangeTypeDefault, CommonEditorRangeTypeDate }; @class CommonEditorRangeCell; @protocol CommonEditorRangeDelegate @optional - (void)commonEditorRangeCell:(CommonEditorRangeCell *)cell didChangeMinValue:(NSString *)minValue maxValue:(NSString *)maxValue atIndexPath:(NSIndexPath *)indexPath; @end @interface CommonEditorRangeCell : UITableViewCell @property (nonatomic,assign) UIKeyboardType keyboardType; @property (nonatomic,assign) CommonEditorRangeType type; @property (nonatomic,weak) id delegate; @property (nonatomic,strong) NSIndexPath *indexPath; - (void)setMinValue:(NSString *)min maxValue:(NSString *)max; - (void)setTitle:(NSString *)title; @end