zoukankan      html  css  js  c++  java
  • 如果在Xcode6中创建空工程, 删除冗余信息

    http://stackoverflow.com/questions/25783282/how-to-create-an-empty-application-in-xcode-6-without-storyboard?rq=1

    There is no option in XCode6 for directly creating an Empty Application as in XCode5 and earlier. But still we can create application without Storyboard in XCode6 by following these steps:

    1. Create an Single View Application with XCode6
    2. Remove Main.storyboard and LaunchScreen.xib (select them, right-click, and choose to either remove them from the project, or delete them completely).
    3. Remove "Main storyboard file base name" and "Launch screen interface file base name" entries in Info.plist file.
    4. Open AppDelegate.m, and edit applicationDidFinishLaunchingWithOptions so that it looks like this:

      - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
      {
          self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
          // Override point for customization after application launch.
          self.window.backgroundColor = [UIColor whiteColor];
          [self.window makeKeyAndVisible];
          return YES;
      }
      
  • 相关阅读:
    MD5值算法原理
    AUTH过程
    锁定应用,解锁应用,锁卡,解卡,更改密码指令
    借/贷记卡的应用
    借记卡,贷记卡,准贷记卡三者的区别
    PBOC2.0与PBOC3.0的区别
    ED/EP简介
    与恒宝有关的一些常用知识
    java卡与native卡的区别
    计算机组和域的区别
  • 原文地址:https://www.cnblogs.com/willbin/p/4056996.html
Copyright © 2011-2022 走看看