| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- //
- // RAEditBaseModel.h
- // Apex And Drivers
- //
- // Created by Jack on 2018/6/4.
- // Copyright © 2018年 USAI. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- typedef enum {
-
- RAEditTypeLabel = 0,
- RAEditTypeInput = 1,
- RAEditTypeMultInput = 2,
- RAEditTypePhoto = 3,
- RAEditTypeSignature = 4,
- RAEditTypeDate = 5,
- RAEditTypeMultPhoto = 6
-
- } RAEditType;
- @protocol RAEditModelDelegate <NSObject>
- - (void)refresh;
- - (void)unbind;
- @end
- @interface RAEditBaseModel : NSObject
- @property (nonatomic,assign) RAEditType type;
- @property (nonatomic,copy) NSString *key;
- @property (nonatomic,copy) NSString *title;
- @property (nonatomic,assign) CGFloat height;
- @property (nonatomic,assign) BOOL required;
- @property (nonatomic,weak) id<RAEditModelDelegate> delegate;
- @property (nonatomic,strong) id expand;
- @property (nonatomic,assign) BOOL autofill;
- - (void)updateDefaultValue;
- @end
|