mirror of
https://github.com/TencentCloud/TIMSDK.git
synced 2026-10-29 14:10:12 +08:00
40 lines
1.1 KiB
Objective-C
40 lines
1.1 KiB
Objective-C
//
|
|
// AppDelegate.h
|
|
// TUIKitDemo
|
|
//
|
|
// Created by kennethmiao on 2018/10/10.
|
|
// Copyright © 2018 Tencent. All rights reserved.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
#import "TUITabBarController.h"
|
|
#import "LoginController.h"
|
|
#import "GenerateTestUserSig.h"
|
|
#import "TUILogin.h"
|
|
#import "TUIContactViewDataProvider.h"
|
|
#import "TCConstants.h"
|
|
#import "TUIStyleSelectViewController.h"
|
|
|
|
@class AppDelegate;
|
|
static AppDelegate *app = nil;
|
|
|
|
@interface AppDelegate : UIResponder <UIApplicationDelegate,TUIStyleSelectControllerDelegate>
|
|
|
|
@property (nonatomic, strong) UIWindow *window;
|
|
@property (nonatomic, assign) BOOL allowRotation;
|
|
@property (nonatomic, assign) NSUInteger unReadCount;
|
|
@property (nonatomic, strong, readonly) TUIContactViewDataProvider *contactDataProvider;
|
|
@property (nonatomic, assign) int lastLoginResultCode;
|
|
|
|
+ (id)sharedInstance;
|
|
|
|
- (UIViewController *)getLoginController;
|
|
- (UITabBarController *)getMainController;
|
|
|
|
- (void)applyPrivateBasicInfo;
|
|
- (void)preloadMainVCBeforeLogin:(NSString *)userID;
|
|
- (void)loginSDK:(NSString *)userID userSig:(NSString *)sig succ:(TSucc)succ fail:(TFail)fail;
|
|
|
|
@end
|
|
|