12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- //
- // AppDelegate.h
- // Starbuds
- //
- // Created by 翟玉磊 on 2019/12/4.
- // Copyright © 2019 翟玉磊. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- #import "XYMainTabBarViewController.h"
- @interface AppDelegate : UIResponder <UIApplicationDelegate>
- @property (strong, nonatomic) UIWindow *window;
- /// appo配置信息
- @property (nonatomic, readwrite, strong) XYAppConfigModel *appConfigModel;
- @property (nonatomic, readwrite, strong) XYMainTabBarViewController *tabbarVC;
- @property (nonatomic, readwrite, strong) NSData *deviceToken;
- /// 是否正在登录 防止多次拉取登录页
- @property (nonatomic, readwrite, assign) BOOL isLogin;
- /// 是否是审核版本
- @property (nonatomic, readwrite, assign) BOOL isVersionStatus;
- + (AppDelegate *)sharedDelegate;
- //// 获取当前显示的控制器
- - (UIViewController *)getCurrentController;
- - (void)dismissViewController:(void(^)(void))completion;
- /// 版本更新
- - (void)checkVersionUpdates:(BOOL)show;
- /// 注销账号
- - (BOOL)isCoolPeriod:(NSDictionary *)dataDict;
- /// 注销账号回调
- @property (nonatomic, copy) void(^XYCoolPeriodAgainLogin)(BOOL success);
- @end
|