Authored by 钱兢安

创建工程 review by 薯条

  1 +// !$*UTF8*$!
  2 +{
  3 + archiveVersion = 1;
  4 + classes = {
  5 + };
  6 + objectVersion = 46;
  7 + objects = {
  8 +
  9 +/* Begin PBXBuildFile section */
  10 + 31B9390F1CFE8A54002C0642 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 31B9390E1CFE8A54002C0642 /* main.m */; };
  11 + 31B939121CFE8A54002C0642 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 31B939111CFE8A54002C0642 /* AppDelegate.m */; };
  12 + 31B939151CFE8A54002C0642 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 31B939141CFE8A54002C0642 /* ViewController.m */; };
  13 + 31B939181CFE8A55002C0642 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 31B939161CFE8A54002C0642 /* Main.storyboard */; };
  14 + 31B9391A1CFE8A55002C0642 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 31B939191CFE8A55002C0642 /* Assets.xcassets */; };
  15 + 31B9391D1CFE8A55002C0642 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 31B9391B1CFE8A55002C0642 /* LaunchScreen.storyboard */; };
  16 +/* End PBXBuildFile section */
  17 +
  18 +/* Begin PBXFileReference section */
  19 + 31B9390A1CFE8A54002C0642 /* YH_LivePush.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = YH_LivePush.app; sourceTree = BUILT_PRODUCTS_DIR; };
  20 + 31B9390E1CFE8A54002C0642 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
  21 + 31B939101CFE8A54002C0642 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
  22 + 31B939111CFE8A54002C0642 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
  23 + 31B939131CFE8A54002C0642 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
  24 + 31B939141CFE8A54002C0642 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
  25 + 31B939171CFE8A54002C0642 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
  26 + 31B939191CFE8A55002C0642 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
  27 + 31B9391C1CFE8A55002C0642 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
  28 + 31B9391E1CFE8A55002C0642 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
  29 +/* End PBXFileReference section */
  30 +
  31 +/* Begin PBXFrameworksBuildPhase section */
  32 + 31B939071CFE8A54002C0642 /* Frameworks */ = {
  33 + isa = PBXFrameworksBuildPhase;
  34 + buildActionMask = 2147483647;
  35 + files = (
  36 + );
  37 + runOnlyForDeploymentPostprocessing = 0;
  38 + };
  39 +/* End PBXFrameworksBuildPhase section */
  40 +
  41 +/* Begin PBXGroup section */
  42 + 31B939011CFE8A54002C0642 = {
  43 + isa = PBXGroup;
  44 + children = (
  45 + 31B9390C1CFE8A54002C0642 /* YH_LivePush */,
  46 + 31B9390B1CFE8A54002C0642 /* Products */,
  47 + );
  48 + sourceTree = "<group>";
  49 + };
  50 + 31B9390B1CFE8A54002C0642 /* Products */ = {
  51 + isa = PBXGroup;
  52 + children = (
  53 + 31B9390A1CFE8A54002C0642 /* YH_LivePush.app */,
  54 + );
  55 + name = Products;
  56 + sourceTree = "<group>";
  57 + };
  58 + 31B9390C1CFE8A54002C0642 /* YH_LivePush */ = {
  59 + isa = PBXGroup;
  60 + children = (
  61 + 31B939101CFE8A54002C0642 /* AppDelegate.h */,
  62 + 31B939111CFE8A54002C0642 /* AppDelegate.m */,
  63 + 31B939131CFE8A54002C0642 /* ViewController.h */,
  64 + 31B939141CFE8A54002C0642 /* ViewController.m */,
  65 + 31B939161CFE8A54002C0642 /* Main.storyboard */,
  66 + 31B939191CFE8A55002C0642 /* Assets.xcassets */,
  67 + 31B9391B1CFE8A55002C0642 /* LaunchScreen.storyboard */,
  68 + 31B9391E1CFE8A55002C0642 /* Info.plist */,
  69 + 31B9390D1CFE8A54002C0642 /* Supporting Files */,
  70 + );
  71 + path = YH_LivePush;
  72 + sourceTree = "<group>";
  73 + };
  74 + 31B9390D1CFE8A54002C0642 /* Supporting Files */ = {
  75 + isa = PBXGroup;
  76 + children = (
  77 + 31B9390E1CFE8A54002C0642 /* main.m */,
  78 + );
  79 + name = "Supporting Files";
  80 + sourceTree = "<group>";
  81 + };
  82 +/* End PBXGroup section */
  83 +
  84 +/* Begin PBXNativeTarget section */
  85 + 31B939091CFE8A54002C0642 /* YH_LivePush */ = {
  86 + isa = PBXNativeTarget;
  87 + buildConfigurationList = 31B939211CFE8A55002C0642 /* Build configuration list for PBXNativeTarget "YH_LivePush" */;
  88 + buildPhases = (
  89 + 31B939061CFE8A54002C0642 /* Sources */,
  90 + 31B939071CFE8A54002C0642 /* Frameworks */,
  91 + 31B939081CFE8A54002C0642 /* Resources */,
  92 + );
  93 + buildRules = (
  94 + );
  95 + dependencies = (
  96 + );
  97 + name = YH_LivePush;
  98 + productName = YH_LivePush;
  99 + productReference = 31B9390A1CFE8A54002C0642 /* YH_LivePush.app */;
  100 + productType = "com.apple.product-type.application";
  101 + };
  102 +/* End PBXNativeTarget section */
  103 +
  104 +/* Begin PBXProject section */
  105 + 31B939021CFE8A54002C0642 /* Project object */ = {
  106 + isa = PBXProject;
  107 + attributes = {
  108 + LastUpgradeCheck = 0730;
  109 + ORGANIZATIONNAME = YH;
  110 + TargetAttributes = {
  111 + 31B939091CFE8A54002C0642 = {
  112 + CreatedOnToolsVersion = 7.3;
  113 + };
  114 + };
  115 + };
  116 + buildConfigurationList = 31B939051CFE8A54002C0642 /* Build configuration list for PBXProject "YH_LivePush" */;
  117 + compatibilityVersion = "Xcode 3.2";
  118 + developmentRegion = English;
  119 + hasScannedForEncodings = 0;
  120 + knownRegions = (
  121 + en,
  122 + Base,
  123 + );
  124 + mainGroup = 31B939011CFE8A54002C0642;
  125 + productRefGroup = 31B9390B1CFE8A54002C0642 /* Products */;
  126 + projectDirPath = "";
  127 + projectRoot = "";
  128 + targets = (
  129 + 31B939091CFE8A54002C0642 /* YH_LivePush */,
  130 + );
  131 + };
  132 +/* End PBXProject section */
  133 +
  134 +/* Begin PBXResourcesBuildPhase section */
  135 + 31B939081CFE8A54002C0642 /* Resources */ = {
  136 + isa = PBXResourcesBuildPhase;
  137 + buildActionMask = 2147483647;
  138 + files = (
  139 + 31B9391D1CFE8A55002C0642 /* LaunchScreen.storyboard in Resources */,
  140 + 31B9391A1CFE8A55002C0642 /* Assets.xcassets in Resources */,
  141 + 31B939181CFE8A55002C0642 /* Main.storyboard in Resources */,
  142 + );
  143 + runOnlyForDeploymentPostprocessing = 0;
  144 + };
  145 +/* End PBXResourcesBuildPhase section */
  146 +
  147 +/* Begin PBXSourcesBuildPhase section */
  148 + 31B939061CFE8A54002C0642 /* Sources */ = {
  149 + isa = PBXSourcesBuildPhase;
  150 + buildActionMask = 2147483647;
  151 + files = (
  152 + 31B939151CFE8A54002C0642 /* ViewController.m in Sources */,
  153 + 31B939121CFE8A54002C0642 /* AppDelegate.m in Sources */,
  154 + 31B9390F1CFE8A54002C0642 /* main.m in Sources */,
  155 + );
  156 + runOnlyForDeploymentPostprocessing = 0;
  157 + };
  158 +/* End PBXSourcesBuildPhase section */
  159 +
  160 +/* Begin PBXVariantGroup section */
  161 + 31B939161CFE8A54002C0642 /* Main.storyboard */ = {
  162 + isa = PBXVariantGroup;
  163 + children = (
  164 + 31B939171CFE8A54002C0642 /* Base */,
  165 + );
  166 + name = Main.storyboard;
  167 + sourceTree = "<group>";
  168 + };
  169 + 31B9391B1CFE8A55002C0642 /* LaunchScreen.storyboard */ = {
  170 + isa = PBXVariantGroup;
  171 + children = (
  172 + 31B9391C1CFE8A55002C0642 /* Base */,
  173 + );
  174 + name = LaunchScreen.storyboard;
  175 + sourceTree = "<group>";
  176 + };
  177 +/* End PBXVariantGroup section */
  178 +
  179 +/* Begin XCBuildConfiguration section */
  180 + 31B9391F1CFE8A55002C0642 /* Debug */ = {
  181 + isa = XCBuildConfiguration;
  182 + buildSettings = {
  183 + ALWAYS_SEARCH_USER_PATHS = NO;
  184 + CLANG_ANALYZER_NONNULL = YES;
  185 + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
  186 + CLANG_CXX_LIBRARY = "libc++";
  187 + CLANG_ENABLE_MODULES = YES;
  188 + CLANG_ENABLE_OBJC_ARC = YES;
  189 + CLANG_WARN_BOOL_CONVERSION = YES;
  190 + CLANG_WARN_CONSTANT_CONVERSION = YES;
  191 + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
  192 + CLANG_WARN_EMPTY_BODY = YES;
  193 + CLANG_WARN_ENUM_CONVERSION = YES;
  194 + CLANG_WARN_INT_CONVERSION = YES;
  195 + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
  196 + CLANG_WARN_UNREACHABLE_CODE = YES;
  197 + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
  198 + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
  199 + COPY_PHASE_STRIP = NO;
  200 + DEBUG_INFORMATION_FORMAT = dwarf;
  201 + ENABLE_STRICT_OBJC_MSGSEND = YES;
  202 + ENABLE_TESTABILITY = YES;
  203 + GCC_C_LANGUAGE_STANDARD = gnu99;
  204 + GCC_DYNAMIC_NO_PIC = NO;
  205 + GCC_NO_COMMON_BLOCKS = YES;
  206 + GCC_OPTIMIZATION_LEVEL = 0;
  207 + GCC_PREPROCESSOR_DEFINITIONS = (
  208 + "DEBUG=1",
  209 + "$(inherited)",
  210 + );
  211 + GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
  212 + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
  213 + GCC_WARN_UNDECLARED_SELECTOR = YES;
  214 + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
  215 + GCC_WARN_UNUSED_FUNCTION = YES;
  216 + GCC_WARN_UNUSED_VARIABLE = YES;
  217 + IPHONEOS_DEPLOYMENT_TARGET = 9.3;
  218 + MTL_ENABLE_DEBUG_INFO = YES;
  219 + ONLY_ACTIVE_ARCH = YES;
  220 + SDKROOT = iphoneos;
  221 + };
  222 + name = Debug;
  223 + };
  224 + 31B939201CFE8A55002C0642 /* Release */ = {
  225 + isa = XCBuildConfiguration;
  226 + buildSettings = {
  227 + ALWAYS_SEARCH_USER_PATHS = NO;
  228 + CLANG_ANALYZER_NONNULL = YES;
  229 + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
  230 + CLANG_CXX_LIBRARY = "libc++";
  231 + CLANG_ENABLE_MODULES = YES;
  232 + CLANG_ENABLE_OBJC_ARC = YES;
  233 + CLANG_WARN_BOOL_CONVERSION = YES;
  234 + CLANG_WARN_CONSTANT_CONVERSION = YES;
  235 + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
  236 + CLANG_WARN_EMPTY_BODY = YES;
  237 + CLANG_WARN_ENUM_CONVERSION = YES;
  238 + CLANG_WARN_INT_CONVERSION = YES;
  239 + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
  240 + CLANG_WARN_UNREACHABLE_CODE = YES;
  241 + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
  242 + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
  243 + COPY_PHASE_STRIP = NO;
  244 + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
  245 + ENABLE_NS_ASSERTIONS = NO;
  246 + ENABLE_STRICT_OBJC_MSGSEND = YES;
  247 + GCC_C_LANGUAGE_STANDARD = gnu99;
  248 + GCC_NO_COMMON_BLOCKS = YES;
  249 + GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
  250 + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
  251 + GCC_WARN_UNDECLARED_SELECTOR = YES;
  252 + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
  253 + GCC_WARN_UNUSED_FUNCTION = YES;
  254 + GCC_WARN_UNUSED_VARIABLE = YES;
  255 + IPHONEOS_DEPLOYMENT_TARGET = 9.3;
  256 + MTL_ENABLE_DEBUG_INFO = NO;
  257 + SDKROOT = iphoneos;
  258 + VALIDATE_PRODUCT = YES;
  259 + };
  260 + name = Release;
  261 + };
  262 + 31B939221CFE8A55002C0642 /* Debug */ = {
  263 + isa = XCBuildConfiguration;
  264 + buildSettings = {
  265 + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
  266 + INFOPLIST_FILE = YH_LivePush/Info.plist;
  267 + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
  268 + PRODUCT_BUNDLE_IDENTIFIER = "com.yoho.Yoho.YH-LivePush";
  269 + PRODUCT_NAME = "$(TARGET_NAME)";
  270 + };
  271 + name = Debug;
  272 + };
  273 + 31B939231CFE8A55002C0642 /* Release */ = {
  274 + isa = XCBuildConfiguration;
  275 + buildSettings = {
  276 + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
  277 + INFOPLIST_FILE = YH_LivePush/Info.plist;
  278 + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
  279 + PRODUCT_BUNDLE_IDENTIFIER = "com.yoho.Yoho.YH-LivePush";
  280 + PRODUCT_NAME = "$(TARGET_NAME)";
  281 + };
  282 + name = Release;
  283 + };
  284 +/* End XCBuildConfiguration section */
  285 +
  286 +/* Begin XCConfigurationList section */
  287 + 31B939051CFE8A54002C0642 /* Build configuration list for PBXProject "YH_LivePush" */ = {
  288 + isa = XCConfigurationList;
  289 + buildConfigurations = (
  290 + 31B9391F1CFE8A55002C0642 /* Debug */,
  291 + 31B939201CFE8A55002C0642 /* Release */,
  292 + );
  293 + defaultConfigurationIsVisible = 0;
  294 + defaultConfigurationName = Release;
  295 + };
  296 + 31B939211CFE8A55002C0642 /* Build configuration list for PBXNativeTarget "YH_LivePush" */ = {
  297 + isa = XCConfigurationList;
  298 + buildConfigurations = (
  299 + 31B939221CFE8A55002C0642 /* Debug */,
  300 + 31B939231CFE8A55002C0642 /* Release */,
  301 + );
  302 + defaultConfigurationIsVisible = 0;
  303 + };
  304 +/* End XCConfigurationList section */
  305 + };
  306 + rootObject = 31B939021CFE8A54002C0642 /* Project object */;
  307 +}
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<Workspace
  3 + version = "1.0">
  4 + <FileRef
  5 + location = "self:YH_LivePush.xcodeproj">
  6 + </FileRef>
  7 +</Workspace>
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<Scheme
  3 + LastUpgradeVersion = "0730"
  4 + version = "1.3">
  5 + <BuildAction
  6 + parallelizeBuildables = "YES"
  7 + buildImplicitDependencies = "YES">
  8 + <BuildActionEntries>
  9 + <BuildActionEntry
  10 + buildForTesting = "YES"
  11 + buildForRunning = "YES"
  12 + buildForProfiling = "YES"
  13 + buildForArchiving = "YES"
  14 + buildForAnalyzing = "YES">
  15 + <BuildableReference
  16 + BuildableIdentifier = "primary"
  17 + BlueprintIdentifier = "31B939091CFE8A54002C0642"
  18 + BuildableName = "YH_LivePush.app"
  19 + BlueprintName = "YH_LivePush"
  20 + ReferencedContainer = "container:YH_LivePush.xcodeproj">
  21 + </BuildableReference>
  22 + </BuildActionEntry>
  23 + </BuildActionEntries>
  24 + </BuildAction>
  25 + <TestAction
  26 + buildConfiguration = "Debug"
  27 + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
  28 + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
  29 + shouldUseLaunchSchemeArgsEnv = "YES">
  30 + <Testables>
  31 + </Testables>
  32 + <MacroExpansion>
  33 + <BuildableReference
  34 + BuildableIdentifier = "primary"
  35 + BlueprintIdentifier = "31B939091CFE8A54002C0642"
  36 + BuildableName = "YH_LivePush.app"
  37 + BlueprintName = "YH_LivePush"
  38 + ReferencedContainer = "container:YH_LivePush.xcodeproj">
  39 + </BuildableReference>
  40 + </MacroExpansion>
  41 + <AdditionalOptions>
  42 + </AdditionalOptions>
  43 + </TestAction>
  44 + <LaunchAction
  45 + buildConfiguration = "Debug"
  46 + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
  47 + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
  48 + launchStyle = "0"
  49 + useCustomWorkingDirectory = "NO"
  50 + ignoresPersistentStateOnLaunch = "NO"
  51 + debugDocumentVersioning = "YES"
  52 + debugServiceExtension = "internal"
  53 + allowLocationSimulation = "YES">
  54 + <BuildableProductRunnable
  55 + runnableDebuggingMode = "0">
  56 + <BuildableReference
  57 + BuildableIdentifier = "primary"
  58 + BlueprintIdentifier = "31B939091CFE8A54002C0642"
  59 + BuildableName = "YH_LivePush.app"
  60 + BlueprintName = "YH_LivePush"
  61 + ReferencedContainer = "container:YH_LivePush.xcodeproj">
  62 + </BuildableReference>
  63 + </BuildableProductRunnable>
  64 + <AdditionalOptions>
  65 + </AdditionalOptions>
  66 + </LaunchAction>
  67 + <ProfileAction
  68 + buildConfiguration = "Release"
  69 + shouldUseLaunchSchemeArgsEnv = "YES"
  70 + savedToolIdentifier = ""
  71 + useCustomWorkingDirectory = "NO"
  72 + debugDocumentVersioning = "YES">
  73 + <BuildableProductRunnable
  74 + runnableDebuggingMode = "0">
  75 + <BuildableReference
  76 + BuildableIdentifier = "primary"
  77 + BlueprintIdentifier = "31B939091CFE8A54002C0642"
  78 + BuildableName = "YH_LivePush.app"
  79 + BlueprintName = "YH_LivePush"
  80 + ReferencedContainer = "container:YH_LivePush.xcodeproj">
  81 + </BuildableReference>
  82 + </BuildableProductRunnable>
  83 + </ProfileAction>
  84 + <AnalyzeAction
  85 + buildConfiguration = "Debug">
  86 + </AnalyzeAction>
  87 + <ArchiveAction
  88 + buildConfiguration = "Release"
  89 + revealArchiveInOrganizer = "YES">
  90 + </ArchiveAction>
  91 +</Scheme>
  1 +//
  2 +// AppDelegate.h
  3 +// YH_LivePush
  4 +//
  5 +// Created by qja on 16/6/1.
  6 +// Copyright © 2016年 YH. All rights reserved.
  7 +//
  8 +
  9 +#import <UIKit/UIKit.h>
  10 +
  11 +@interface AppDelegate : UIResponder <UIApplicationDelegate>
  12 +
  13 +@property (strong, nonatomic) UIWindow *window;
  14 +
  15 +
  16 +@end
  17 +
  1 +//
  2 +// AppDelegate.m
  3 +// YH_LivePush
  4 +//
  5 +// Created by qja on 16/6/1.
  6 +// Copyright © 2016年 YH. All rights reserved.
  7 +//
  8 +
  9 +#import "AppDelegate.h"
  10 +
  11 +@interface AppDelegate ()
  12 +
  13 +@end
  14 +
  15 +@implementation AppDelegate
  16 +
  17 +
  18 +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
  19 + // Override point for customization after application launch.
  20 + return YES;
  21 +}
  22 +
  23 +- (void)applicationWillResignActive:(UIApplication *)application {
  24 + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
  25 + // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
  26 +}
  27 +
  28 +- (void)applicationDidEnterBackground:(UIApplication *)application {
  29 + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
  30 + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
  31 +}
  32 +
  33 +- (void)applicationWillEnterForeground:(UIApplication *)application {
  34 + // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
  35 +}
  36 +
  37 +- (void)applicationDidBecomeActive:(UIApplication *)application {
  38 + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
  39 +}
  40 +
  41 +- (void)applicationWillTerminate:(UIApplication *)application {
  42 + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
  43 +}
  44 +
  45 +@end
  1 +{
  2 + "images" : [
  3 + {
  4 + "idiom" : "iphone",
  5 + "size" : "29x29",
  6 + "scale" : "2x"
  7 + },
  8 + {
  9 + "idiom" : "iphone",
  10 + "size" : "29x29",
  11 + "scale" : "3x"
  12 + },
  13 + {
  14 + "idiom" : "iphone",
  15 + "size" : "40x40",
  16 + "scale" : "2x"
  17 + },
  18 + {
  19 + "idiom" : "iphone",
  20 + "size" : "40x40",
  21 + "scale" : "3x"
  22 + },
  23 + {
  24 + "idiom" : "iphone",
  25 + "size" : "60x60",
  26 + "scale" : "2x"
  27 + },
  28 + {
  29 + "idiom" : "iphone",
  30 + "size" : "60x60",
  31 + "scale" : "3x"
  32 + }
  33 + ],
  34 + "info" : {
  35 + "version" : 1,
  36 + "author" : "xcode"
  37 + }
  38 +}
  1 +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2 +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="8150" systemVersion="15A204g" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" initialViewController="01J-lp-oVM">
  3 + <dependencies>
  4 + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="8122"/>
  5 + </dependencies>
  6 + <scenes>
  7 + <!--View Controller-->
  8 + <scene sceneID="EHf-IW-A2E">
  9 + <objects>
  10 + <viewController id="01J-lp-oVM" sceneMemberID="viewController">
  11 + <layoutGuides>
  12 + <viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/>
  13 + <viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
  14 + </layoutGuides>
  15 + <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
  16 + <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
  17 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  18 + <animations/>
  19 + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
  20 + </view>
  21 + </viewController>
  22 + <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
  23 + </objects>
  24 + <point key="canvasLocation" x="53" y="375"/>
  25 + </scene>
  26 + </scenes>
  27 +</document>
  1 +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2 +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6211" systemVersion="14A298i" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
  3 + <dependencies>
  4 + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6204"/>
  5 + </dependencies>
  6 + <scenes>
  7 + <!--View Controller-->
  8 + <scene sceneID="tne-QT-ifu">
  9 + <objects>
  10 + <viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="" sceneMemberID="viewController">
  11 + <layoutGuides>
  12 + <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
  13 + <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
  14 + </layoutGuides>
  15 + <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
  16 + <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
  17 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  18 + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
  19 + </view>
  20 + </viewController>
  21 + <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
  22 + </objects>
  23 + </scene>
  24 + </scenes>
  25 +</document>
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3 +<plist version="1.0">
  4 +<dict>
  5 + <key>CFBundleDevelopmentRegion</key>
  6 + <string>en</string>
  7 + <key>CFBundleExecutable</key>
  8 + <string>$(EXECUTABLE_NAME)</string>
  9 + <key>CFBundleIdentifier</key>
  10 + <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
  11 + <key>CFBundleInfoDictionaryVersion</key>
  12 + <string>6.0</string>
  13 + <key>CFBundleName</key>
  14 + <string>$(PRODUCT_NAME)</string>
  15 + <key>CFBundlePackageType</key>
  16 + <string>APPL</string>
  17 + <key>CFBundleShortVersionString</key>
  18 + <string>1.0</string>
  19 + <key>CFBundleSignature</key>
  20 + <string>????</string>
  21 + <key>CFBundleVersion</key>
  22 + <string>1</string>
  23 + <key>LSRequiresIPhoneOS</key>
  24 + <true/>
  25 + <key>UILaunchStoryboardName</key>
  26 + <string>LaunchScreen</string>
  27 + <key>UIMainStoryboardFile</key>
  28 + <string>Main</string>
  29 + <key>UIRequiredDeviceCapabilities</key>
  30 + <array>
  31 + <string>armv7</string>
  32 + </array>
  33 + <key>UISupportedInterfaceOrientations</key>
  34 + <array>
  35 + <string>UIInterfaceOrientationPortrait</string>
  36 + <string>UIInterfaceOrientationLandscapeLeft</string>
  37 + <string>UIInterfaceOrientationLandscapeRight</string>
  38 + </array>
  39 +</dict>
  40 +</plist>
  1 +//
  2 +// ViewController.h
  3 +// YH_LivePush
  4 +//
  5 +// Created by qja on 16/6/1.
  6 +// Copyright © 2016年 YH. All rights reserved.
  7 +//
  8 +
  9 +#import <UIKit/UIKit.h>
  10 +
  11 +@interface ViewController : UIViewController
  12 +
  13 +
  14 +@end
  15 +
  1 +//
  2 +// ViewController.m
  3 +// YH_LivePush
  4 +//
  5 +// Created by qja on 16/6/1.
  6 +// Copyright © 2016年 YH. All rights reserved.
  7 +//
  8 +
  9 +#import "ViewController.h"
  10 +
  11 +@interface ViewController ()
  12 +
  13 +@end
  14 +
  15 +@implementation ViewController
  16 +
  17 +- (void)viewDidLoad {
  18 + [super viewDidLoad];
  19 + // Do any additional setup after loading the view, typically from a nib.
  20 +}
  21 +
  22 +- (void)didReceiveMemoryWarning {
  23 + [super didReceiveMemoryWarning];
  24 + // Dispose of any resources that can be recreated.
  25 +}
  26 +
  27 +@end
  1 +//
  2 +// main.m
  3 +// YH_LivePush
  4 +//
  5 +// Created by qja on 16/6/1.
  6 +// Copyright © 2016年 YH. All rights reserved.
  7 +//
  8 +
  9 +#import <UIKit/UIKit.h>
  10 +#import "AppDelegate.h"
  11 +
  12 +int main(int argc, char * argv[]) {
  13 + @autoreleasepool {
  14 + return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
  15 + }
  16 +}