AppDelegate.h 868 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // AppDelegate.h
  3. // 速达驾考
  4. //
  5. // Created by 张嵘 on 2021/7/23.
  6. //
  7. #import <UIKit/UIKit.h>
  8. #import "RQNavigationControllerStack.h"
  9. #import "RQViewModelServicesImpl.h"
  10. #define RQ_APPDELEGATE [AppDelegate sharedDelegate]
  11. @interface AppDelegate : UIResponder <UIApplicationDelegate>
  12. /// 窗口
  13. @property (strong, nonatomic) UIWindow *window;
  14. /// APP管理的导航栏的堆栈
  15. @property (nonatomic, readonly, strong) RQNavigationControllerStack *navigationControllerStack;
  16. /// APP的服务层
  17. @property (nonatomic, readonly, strong) RQViewModelServicesImpl *services;
  18. /// 获取AppDelegate
  19. + (AppDelegate *)sharedDelegate;
  20. /// 是否已经弹出键盘 主要用于微信朋友圈的判断
  21. @property (nonatomic, readwrite, assign , getter = isShowKeyboard) BOOL showKeyboard;
  22. @property (nonatomic, readwrite, assign) BOOL allowOrentitaionRotation;
  23. @end