// // AppDelegate.h // Starbuds // // Created by 翟玉磊 on 2019/12/4. // Copyright © 2019 翟玉磊. All rights reserved. // #import #import "XYMainTabBarViewController.h" @interface AppDelegate : UIResponder @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