You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
1.4 KiB
76 lines
1.4 KiB
1 year ago
|
//
|
||
|
// TableCell.h
|
||
|
// myWear
|
||
|
//
|
||
|
// Created by xTT on 2017/1/18.
|
||
|
// Copyright © 2017年 xTT. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import <Foundation/Foundation.h>
|
||
|
#import <UIKit/UIKit.h>
|
||
|
|
||
|
#import "baseModel.h"
|
||
|
|
||
|
typedef void (^BlockCellBtnClick) (id sender, id blockCell);
|
||
|
|
||
|
@interface baseCell : UITableViewCell
|
||
|
|
||
|
@property (strong, nonatomic) BlockCellBtnClick block;
|
||
|
|
||
|
- (IBAction)cellClick:(id)sender;
|
||
|
|
||
|
- (void)initCellView:(baseModel *)bModel;
|
||
|
|
||
|
-(void)showHiddenAccessoryDisclosureIndicator:(BOOL)state;
|
||
|
|
||
|
|
||
|
@end
|
||
|
|
||
|
|
||
|
|
||
|
//输入框cell
|
||
|
@interface TextFieldCell : baseCell
|
||
|
|
||
|
@property (strong, nonatomic) IBOutlet UITextField *textField;
|
||
|
|
||
|
@property (assign, nonatomic) NSString *regularStr;
|
||
|
|
||
|
@property (assign, nonatomic) NSInteger maxLimitLength;
|
||
|
|
||
|
@property (assign, nonatomic) NSInteger minLimitLength;
|
||
|
|
||
|
/**
|
||
|
弹出时间 转轮 UIDatePicker 选择器
|
||
|
*/
|
||
|
- (void)timeInputViewWithModel:(UIDatePickerMode)mode WithData:(NSDate*)nowDate;
|
||
|
|
||
|
/**
|
||
|
弹出 数字 转轮 UIDatePicker 选择器
|
||
|
*/
|
||
|
- (void)numberInputViewWithStartNum:(NSInteger)startNum EndNum:(NSInteger)endNum WithIndex:(NSInteger)nowIndex;
|
||
|
|
||
|
|
||
|
@end
|
||
|
|
||
|
@interface RailCell : baseCell
|
||
|
|
||
|
@property (strong, nonatomic) IBOutlet UILabel *label_radius;
|
||
|
|
||
|
@end
|
||
|
|
||
|
@interface DailyCell : baseCell
|
||
|
|
||
|
@end
|
||
|
|
||
|
@interface PlayVoiceCell : baseCell
|
||
|
|
||
|
@property (strong, nonatomic) NSString *voicePath;
|
||
|
|
||
|
@property (strong, nonatomic) NSString *voiceUrl;
|
||
|
|
||
|
|
||
|
- (void)startAnimation;
|
||
|
|
||
|
@end
|
||
|
|