| 12345678910111213141516171819202122232425262728293031323334 |
- //
- // CommonEditorRangeCell.h
- // RedAnt Mobile
- //
- // Created by Jack on 2017/11/13.
- // Copyright © 2017年 Ray. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- typedef NS_ENUM(NSInteger, CommonEditorRangeType) {
- CommonEditorRangeTypeDefault,
- CommonEditorRangeTypeDate
- };
- @class CommonEditorRangeCell;
- @protocol CommonEditorRangeDelegate <NSObject>
- @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<CommonEditorRangeDelegate> delegate;
- @property (nonatomic,strong) NSIndexPath *indexPath;
- - (void)setMinValue:(NSString *)min maxValue:(NSString *)max;
- - (void)setTitle:(NSString *)title;
- @end
|