Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

Commit

Permalink
Added tvOS target
Browse files Browse the repository at this point in the history
  • Loading branch information
hellozimi committed Nov 4, 2015
1 parent 6eb9f17 commit 90fc9d5
Show file tree
Hide file tree
Showing 26 changed files with 545 additions and 1 deletion.
168 changes: 167 additions & 1 deletion YoutubeParser.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
objects = {

/* Begin PBXBuildFile section */
326A0AB21BEA0CCE002D323A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 326A0AB11BEA0CCE002D323A /* main.m */; };
326A0AB51BEA0CCE002D323A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 326A0AB41BEA0CCE002D323A /* AppDelegate.m */; };
326A0AB81BEA0CCE002D323A /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 326A0AB71BEA0CCE002D323A /* ViewController.m */; };
326A0ABB1BEA0CCE002D323A /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 326A0AB91BEA0CCE002D323A /* Main.storyboard */; };
326A0ABD1BEA0CCE002D323A /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 326A0ABC1BEA0CCE002D323A /* Assets.xcassets */; };
326A0AC21BEA0CF9002D323A /* HCYoutubeParser.m in Sources */ = {isa = PBXBuildFile; fileRef = 3285C49A157CF02700096202 /* HCYoutubeParser.m */; };
3285C482157CEFFB00096202 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3285C481157CEFFB00096202 /* UIKit.framework */; };
3285C484157CEFFB00096202 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3285C483157CEFFB00096202 /* Foundation.framework */; };
3285C486157CEFFB00096202 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3285C485157CEFFB00096202 /* CoreGraphics.framework */; };
Expand All @@ -32,6 +38,15 @@
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
326A0AAE1BEA0CCE002D323A /* youtubeparser-tvos.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "youtubeparser-tvos.app"; sourceTree = BUILT_PRODUCTS_DIR; };
326A0AB11BEA0CCE002D323A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
326A0AB31BEA0CCE002D323A /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
326A0AB41BEA0CCE002D323A /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
326A0AB61BEA0CCE002D323A /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
326A0AB71BEA0CCE002D323A /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
326A0ABA1BEA0CCE002D323A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
326A0ABC1BEA0CCE002D323A /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
326A0ABE1BEA0CCE002D323A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
3285C47D157CEFFB00096202 /* YoutubeParser.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = YoutubeParser.app; sourceTree = BUILT_PRODUCTS_DIR; };
3285C481157CEFFB00096202 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
3285C483157CEFFB00096202 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
Expand All @@ -43,7 +58,7 @@
3285C490157CEFFB00096202 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
3285C491157CEFFB00096202 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
3285C499157CF02700096202 /* HCYoutubeParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HCYoutubeParser.h; sourceTree = "<group>"; };
3285C49A157CF02700096202 /* HCYoutubeParser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HCYoutubeParser.m; sourceTree = "<group>"; };
3285C49A157CF02700096202 /* HCYoutubeParser.m */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.c.objc; path = HCYoutubeParser.m; sourceTree = "<group>"; tabWidth = 4; usesTabs = 0; };
3285C49C157D07AD00096202 /* MediaPlayer.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MediaPlayer.framework; path = System/Library/Frameworks/MediaPlayer.framework; sourceTree = SDKROOT; };
F449DE26160E5651001BADA4 /* ViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
F449DE27160E5651001BADA4 /* ViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
Expand All @@ -63,6 +78,13 @@
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
326A0AAB1BEA0CCE002D323A /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
3285C47A157CEFFB00096202 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
Expand All @@ -78,11 +100,35 @@
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
326A0AAF1BEA0CCE002D323A /* youtubeparser-tvos */ = {
isa = PBXGroup;
children = (
326A0AB31BEA0CCE002D323A /* AppDelegate.h */,
326A0AB41BEA0CCE002D323A /* AppDelegate.m */,
326A0AB61BEA0CCE002D323A /* ViewController.h */,
326A0AB71BEA0CCE002D323A /* ViewController.m */,
326A0AB91BEA0CCE002D323A /* Main.storyboard */,
326A0ABC1BEA0CCE002D323A /* Assets.xcassets */,
326A0ABE1BEA0CCE002D323A /* Info.plist */,
326A0AB01BEA0CCE002D323A /* Supporting Files */,
);
path = "youtubeparser-tvos";
sourceTree = "<group>";
};
326A0AB01BEA0CCE002D323A /* Supporting Files */ = {
isa = PBXGroup;
children = (
326A0AB11BEA0CCE002D323A /* main.m */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
3285C472157CEFFA00096202 = {
isa = PBXGroup;
children = (
3285C487157CEFFB00096202 /* YoutubeParser */,
F4B544EE160E4CA2009EB35F /* Resources */,
326A0AAF1BEA0CCE002D323A /* youtubeparser-tvos */,
3285C480157CEFFB00096202 /* Frameworks */,
3285C47E157CEFFB00096202 /* Products */,
);
Expand All @@ -92,6 +138,7 @@
isa = PBXGroup;
children = (
3285C47D157CEFFB00096202 /* YoutubeParser.app */,
326A0AAE1BEA0CCE002D323A /* youtubeparser-tvos.app */,
);
name = Products;
sourceTree = "<group>";
Expand Down Expand Up @@ -172,6 +219,23 @@
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
326A0AAD1BEA0CCE002D323A /* youtubeparser-tvos */ = {
isa = PBXNativeTarget;
buildConfigurationList = 326A0AC11BEA0CCE002D323A /* Build configuration list for PBXNativeTarget "youtubeparser-tvos" */;
buildPhases = (
326A0AAA1BEA0CCE002D323A /* Sources */,
326A0AAB1BEA0CCE002D323A /* Frameworks */,
326A0AAC1BEA0CCE002D323A /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = "youtubeparser-tvos";
productName = "youtubeparser-tvos";
productReference = 326A0AAE1BEA0CCE002D323A /* youtubeparser-tvos.app */;
productType = "com.apple.product-type.application";
};
3285C47C157CEFFB00096202 /* YoutubeParser */ = {
isa = PBXNativeTarget;
buildConfigurationList = 3285C495157CEFFB00096202 /* Build configuration list for PBXNativeTarget "YoutubeParser" */;
Expand All @@ -197,25 +261,41 @@
attributes = {
LastUpgradeCheck = 0500;
ORGANIZATIONNAME = Hiddencode.me;
TargetAttributes = {
326A0AAD1BEA0CCE002D323A = {
CreatedOnToolsVersion = 7.1;
};
};
};
buildConfigurationList = 3285C477157CEFFA00096202 /* Build configuration list for PBXProject "YoutubeParser" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 3285C472157CEFFA00096202;
productRefGroup = 3285C47E157CEFFB00096202 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
3285C47C157CEFFB00096202 /* YoutubeParser */,
326A0AAD1BEA0CCE002D323A /* youtubeparser-tvos */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
326A0AAC1BEA0CCE002D323A /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
326A0ABD1BEA0CCE002D323A /* Assets.xcassets in Resources */,
326A0ABB1BEA0CCE002D323A /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
3285C47B157CEFFB00096202 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
Expand All @@ -239,6 +319,17 @@
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
326A0AAA1BEA0CCE002D323A /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
326A0AB81BEA0CCE002D323A /* ViewController.m in Sources */,
326A0AC21BEA0CF9002D323A /* HCYoutubeParser.m in Sources */,
326A0AB51BEA0CCE002D323A /* AppDelegate.m in Sources */,
326A0AB21BEA0CCE002D323A /* main.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
3285C479157CEFFB00096202 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
Expand All @@ -253,6 +344,14 @@
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
326A0AB91BEA0CCE002D323A /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
326A0ABA1BEA0CCE002D323A /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
3285C48A157CEFFB00096202 /* InfoPlist.strings */ = {
isa = PBXVariantGroup;
children = (
Expand All @@ -264,6 +363,65 @@
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
326A0ABF1BEA0CCE002D323A /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
INFOPLIST_FILE = "youtubeparser-tvos/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MTL_ENABLE_DEBUG_INFO = YES;
PRODUCT_BUNDLE_IDENTIFIER = "me.hiddencode.youtubeparser-tvos";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = appletvos;
TARGETED_DEVICE_FAMILY = 3;
TVOS_DEPLOYMENT_TARGET = 9.0;
};
name = Debug;
};
326A0AC01BEA0CCE002D323A /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
INFOPLIST_FILE = "youtubeparser-tvos/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = "me.hiddencode.youtubeparser-tvos";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = appletvos;
TARGETED_DEVICE_FAMILY = 3;
TVOS_DEPLOYMENT_TARGET = 9.0;
};
name = Release;
};
3285C493157CEFFB00096202 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
Expand Down Expand Up @@ -357,6 +515,14 @@
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
326A0AC11BEA0CCE002D323A /* Build configuration list for PBXNativeTarget "youtubeparser-tvos" */ = {
isa = XCConfigurationList;
buildConfigurations = (
326A0ABF1BEA0CCE002D323A /* Debug */,
326A0AC01BEA0CCE002D323A /* Release */,
);
defaultConfigurationIsVisible = 0;
};
3285C477157CEFFA00096202 /* Build configuration list for PBXProject "YoutubeParser" */ = {
isa = XCConfigurationList;
buildConfigurations = (
Expand Down
17 changes: 17 additions & 0 deletions youtubeparser-tvos/AppDelegate.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//
// AppDelegate.h
// youtubeparser-tvos
//
// Created by Simon Andersson on 04/11/15.
// Copyright © 2015 Hiddencode.me. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;


@end

45 changes: 45 additions & 0 deletions youtubeparser-tvos/AppDelegate.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
//
// AppDelegate.m
// youtubeparser-tvos
//
// Created by Simon Andersson on 04/11/15.
// Copyright © 2015 Hiddencode.me. All rights reserved.
//

#import "AppDelegate.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
return YES;
}

- (void)applicationWillResignActive:(UIApplication *)application {
// 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.
// 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.
}

- (void)applicationDidEnterBackground:(UIApplication *)application {
// 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.
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
}

- (void)applicationWillEnterForeground:(UIApplication *)application {
// 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.
}

- (void)applicationDidBecomeActive:(UIApplication *)application {
// 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.
}

- (void)applicationWillTerminate:(UIApplication *)application {
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"images" : [
{
"idiom" : "tv",
"scale" : "1x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"layers" : [
{
"filename" : "Front.imagestacklayer"
},
{
"filename" : "Middle.imagestacklayer"
},
{
"filename" : "Back.imagestacklayer"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"images" : [
{
"idiom" : "tv",
"scale" : "1x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Loading

0 comments on commit 90fc9d5

Please sign in to comment.