| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- //
- // 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
-
- } 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
|