RASettingBaseModel.h 592 B

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // RASettingBaseModel.h
  3. // Apex And Drivers
  4. //
  5. // Created by Jack on 2018/9/12.
  6. // Copyright © 2018年 USAI. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. typedef enum {
  10. RASettingTypeOption = 0,
  11. RASettingTypeSwitch = 1,
  12. RASettingTypeAction = 2
  13. } RASettingType;
  14. @protocol RASettingModelDelegate <NSObject>
  15. @optional
  16. - (void)refreshUI;
  17. @end
  18. @interface RASettingBaseModel : NSObject
  19. @property (nonatomic,assign) RASettingType type;
  20. @property (nonatomic,copy) NSString *title;
  21. @property (nonatomic,weak) id<RASettingModelDelegate> delegate;
  22. @end