UIViewController+SPSBDefault.h 433 B

12345678910111213141516171819202122
  1. //
  2. // UIViewController+SPSBDefault.h
  3. // 我的社保
  4. //
  5. // Created by shanp on 2021/4/21.
  6. //
  7. #import <UIKit/UIKit.h>
  8. NS_ASSUME_NONNULL_BEGIN
  9. @interface UIViewController (SPSBDefault)
  10. @property (readonly, nullable) UIView *spsb_defaultView;
  11. - (void)setDefaultViewWithError:(nullable NSError *)error image:(nullable UIImage *)image action:(void(^_Nullable)(void))action;
  12. - (void)removeDefaultView;
  13. @end
  14. NS_ASSUME_NONNULL_END