RAEditBaseModel.h 656 B

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // RAEditBaseModel.h
  3. // Apex And Drivers
  4. //
  5. // Created by Jack on 2018/6/4.
  6. // Copyright © 2018年 USAI. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. typedef enum {
  10. RAEditTypeLabel = 0,
  11. RAEditTypeInput = 1,
  12. RAEditTypeMultInput = 2,
  13. RAEditTypePhoto = 3
  14. } RAEditType;
  15. @protocol RAEditModelDelegate <NSObject>
  16. - (void)refresh;
  17. @end
  18. @interface RAEditBaseModel : NSObject
  19. @property (nonatomic,assign) RAEditType type;
  20. @property (nonatomic,copy) NSString *key;
  21. @property (nonatomic,copy) NSString *title;
  22. @property (nonatomic,assign) CGFloat height;
  23. @property (nonatomic,weak) id<RAEditModelDelegate> delegate;
  24. @end