zoukankan      html  css  js  c++  java
  • V2AppDelegate.h

    #import "V2AppDelegate.h"
    
    #import "V2RootViewController.h"
    
    #import "V2TopicStateManager.h"
    #import "SCWeiboManager.h"
    #import "SCWeixinManager.h"
    
    #import <Fabric/Fabric.h>
    #import <Crashlytics/Crashlytics.h>
    
    @implementation V2AppDelegate
    
    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
    {
        // Preload StateManager
        [[AFNetworkReachabilityManager sharedManager] startMonitoring];
        
        [V2TopicStateManager manager];
        [V2SettingManager manager];
        [V2CheckInManager manager];
        [SCWeiboManager manager];
        [SCWeixinManager manager];
        
        // Configure URLCache capacity
        // Set URLCache to 3MB
        // yhtanglearn ()http://nshipster.cn/nsurlcache/
        NSURLCache *URLCache = [[NSURLCache alloc] initWithMemoryCapacity:5 * 1024 * 1024
                                                             diskCapacity:3 * 1024 * 1024
                                                                 diskPath:nil];
        [NSURLCache setSharedURLCache:URLCache];
    
        
        self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
        self.window.backgroundColor = [UIColor whiteColor];
    
        self.rootViewController = [[V2RootViewController alloc] init];
        self.window.rootViewController = self.rootViewController;
            
        [self.window makeKeyAndVisible];
        
        [Fabric with:@[CrashlyticsKit]];
    
        return YES;
    }
  • 相关阅读:
    Mysql添加用户与授权
    php导出数据到csv
    mysql导入数据和导出数据
    null在mysql中的不同表现
    乌班图安装Lnmp环境
    php框架路由美化后提示No input file specified
    cookie删除失效问题
    MongoDb安装
    MongoDb简介
    位置索引介绍
  • 原文地址:https://www.cnblogs.com/pencilCool/p/4747532.html
Copyright © 2011-2022 走看看