Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

v6.0.2 > Master #47

Merged
merged 19 commits into from
Apr 1, 2016
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
adding example
  • Loading branch information
Gavin King committed Mar 10, 2016
commit 0d031c0eb28d3ba7fbb3b9206adad0773dc7f650
Original file line number Diff line number Diff line change
@@ -0,0 +1,323 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {

/* Begin PBXBuildFile section */
5C2AD61E1C91CD8500D433D5 /* field.mp4 in Resources */ = {isa = PBXBuildFile; fileRef = 5C2AD61D1C91CD8500D433D5 /* field.mp4 */; };
5CACFE221C90DF0500C35861 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5CACFE211C90DF0500C35861 /* AppDelegate.swift */; };
5CACFE241C90DF0500C35861 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5CACFE231C90DF0500C35861 /* ViewController.swift */; };
5CACFE271C90DF0500C35861 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 5CACFE251C90DF0500C35861 /* Main.storyboard */; };
5CACFE291C90DF0500C35861 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5CACFE281C90DF0500C35861 /* Assets.xcassets */; };
5CACFE2C1C90DF0500C35861 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 5CACFE2A1C90DF0500C35861 /* LaunchScreen.storyboard */; };
5CACFE381C90E31C00C35861 /* VIMVideoPlayer.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CACFE351C90E31C00C35861 /* VIMVideoPlayer.m */; };
5CACFE391C90E31C00C35861 /* VIMVideoPlayerView.m in Sources */ = {isa = PBXBuildFile; fileRef = 5CACFE371C90E31C00C35861 /* VIMVideoPlayerView.m */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
5C2AD61B1C91C45800D433D5 /* VIMVideoPlayer-iOS-Example-Bridging-Header.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "VIMVideoPlayer-iOS-Example-Bridging-Header.h"; sourceTree = "<group>"; };
5C2AD61D1C91CD8500D433D5 /* field.mp4 */ = {isa = PBXFileReference; lastKnownFileType = file; path = field.mp4; sourceTree = "<group>"; };
5CACFE1E1C90DF0500C35861 /* VIMVideoPlayer-iOS-Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "VIMVideoPlayer-iOS-Example.app"; sourceTree = BUILT_PRODUCTS_DIR; };
5CACFE211C90DF0500C35861 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
5CACFE231C90DF0500C35861 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
5CACFE261C90DF0500C35861 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
5CACFE281C90DF0500C35861 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
5CACFE2B1C90DF0500C35861 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
5CACFE2D1C90DF0500C35861 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
5CACFE341C90E31C00C35861 /* VIMVideoPlayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VIMVideoPlayer.h; sourceTree = "<group>"; };
5CACFE351C90E31C00C35861 /* VIMVideoPlayer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = VIMVideoPlayer.m; sourceTree = "<group>"; };
5CACFE361C90E31C00C35861 /* VIMVideoPlayerView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VIMVideoPlayerView.h; sourceTree = "<group>"; };
5CACFE371C90E31C00C35861 /* VIMVideoPlayerView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = VIMVideoPlayerView.m; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
5CACFE1B1C90DF0500C35861 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
5CACFE151C90DF0500C35861 = {
isa = PBXGroup;
children = (
5CACFE201C90DF0500C35861 /* VIMVideoPlayer-iOS-Example */,
5CACFE1F1C90DF0500C35861 /* Products */,
);
sourceTree = "<group>";
};
5CACFE1F1C90DF0500C35861 /* Products */ = {
isa = PBXGroup;
children = (
5CACFE1E1C90DF0500C35861 /* VIMVideoPlayer-iOS-Example.app */,
);
name = Products;
sourceTree = "<group>";
};
5CACFE201C90DF0500C35861 /* VIMVideoPlayer-iOS-Example */ = {
isa = PBXGroup;
children = (
5CACFE331C90E31C00C35861 /* VIMVideoPlayer */,
5C2AD61D1C91CD8500D433D5 /* field.mp4 */,
5CACFE211C90DF0500C35861 /* AppDelegate.swift */,
5CACFE231C90DF0500C35861 /* ViewController.swift */,
5CACFE251C90DF0500C35861 /* Main.storyboard */,
5CACFE281C90DF0500C35861 /* Assets.xcassets */,
5CACFE2A1C90DF0500C35861 /* LaunchScreen.storyboard */,
5CACFE2D1C90DF0500C35861 /* Info.plist */,
5C2AD61B1C91C45800D433D5 /* VIMVideoPlayer-iOS-Example-Bridging-Header.h */,
);
path = "VIMVideoPlayer-iOS-Example";
sourceTree = "<group>";
};
5CACFE331C90E31C00C35861 /* VIMVideoPlayer */ = {
isa = PBXGroup;
children = (
5CACFE341C90E31C00C35861 /* VIMVideoPlayer.h */,
5CACFE351C90E31C00C35861 /* VIMVideoPlayer.m */,
5CACFE361C90E31C00C35861 /* VIMVideoPlayerView.h */,
5CACFE371C90E31C00C35861 /* VIMVideoPlayerView.m */,
);
name = VIMVideoPlayer;
path = ../../../VIMVideoPlayer;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
5CACFE1D1C90DF0500C35861 /* VIMVideoPlayer-iOS-Example */ = {
isa = PBXNativeTarget;
buildConfigurationList = 5CACFE301C90DF0500C35861 /* Build configuration list for PBXNativeTarget "VIMVideoPlayer-iOS-Example" */;
buildPhases = (
5CACFE1A1C90DF0500C35861 /* Sources */,
5CACFE1B1C90DF0500C35861 /* Frameworks */,
5CACFE1C1C90DF0500C35861 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = "VIMVideoPlayer-iOS-Example";
productName = "VIMVideoPlayer-iOS-Example";
productReference = 5CACFE1E1C90DF0500C35861 /* VIMVideoPlayer-iOS-Example.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
5CACFE161C90DF0500C35861 /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0720;
LastUpgradeCheck = 0720;
ORGANIZATIONNAME = "Gavin King";
TargetAttributes = {
5CACFE1D1C90DF0500C35861 = {
CreatedOnToolsVersion = 7.2.1;
};
};
};
buildConfigurationList = 5CACFE191C90DF0500C35861 /* Build configuration list for PBXProject "VIMVideoPlayer-iOS-Example" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 5CACFE151C90DF0500C35861;
productRefGroup = 5CACFE1F1C90DF0500C35861 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
5CACFE1D1C90DF0500C35861 /* VIMVideoPlayer-iOS-Example */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
5CACFE1C1C90DF0500C35861 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
5C2AD61E1C91CD8500D433D5 /* field.mp4 in Resources */,
5CACFE2C1C90DF0500C35861 /* LaunchScreen.storyboard in Resources */,
5CACFE291C90DF0500C35861 /* Assets.xcassets in Resources */,
5CACFE271C90DF0500C35861 /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
5CACFE1A1C90DF0500C35861 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
5CACFE241C90DF0500C35861 /* ViewController.swift in Sources */,
5CACFE221C90DF0500C35861 /* AppDelegate.swift in Sources */,
5CACFE391C90E31C00C35861 /* VIMVideoPlayerView.m in Sources */,
5CACFE381C90E31C00C35861 /* VIMVideoPlayer.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
5CACFE251C90DF0500C35861 /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
5CACFE261C90DF0500C35861 /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
5CACFE2A1C90DF0500C35861 /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
5CACFE2B1C90DF0500C35861 /* Base */,
);
name = LaunchScreen.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
5CACFE2E1C90DF0500C35861 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.2;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
5CACFE2F1C90DF0500C35861 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.2;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
};
name = Release;
};
5CACFE311C90DF0500C35861 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
INFOPLIST_FILE = "VIMVideoPlayer-iOS-Example/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.vimeo.VIMVideoPlayer-iOS-Example";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "VIMVideoPlayer-iOS-Example/VIMVideoPlayer-iOS-Example-Bridging-Header.h";
};
name = Debug;
};
5CACFE321C90DF0500C35861 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
INFOPLIST_FILE = "VIMVideoPlayer-iOS-Example/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.vimeo.VIMVideoPlayer-iOS-Example";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "VIMVideoPlayer-iOS-Example/VIMVideoPlayer-iOS-Example-Bridging-Header.h";
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
5CACFE191C90DF0500C35861 /* Build configuration list for PBXProject "VIMVideoPlayer-iOS-Example" */ = {
isa = XCConfigurationList;
buildConfigurations = (
5CACFE2E1C90DF0500C35861 /* Debug */,
5CACFE2F1C90DF0500C35861 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
5CACFE301C90DF0500C35861 /* Build configuration list for PBXNativeTarget "VIMVideoPlayer-iOS-Example" */ = {
isa = XCConfigurationList;
buildConfigurations = (
5CACFE311C90DF0500C35861 /* Debug */,
5CACFE321C90DF0500C35861 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 5CACFE161C90DF0500C35861 /* Project object */;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
//
// AppDelegate.swift
// VIMVideoPlayer-iOS-Example
//
// Created by King, Gavin on 3/9/16.
// Copyright © 2016 Gavin King. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

var window: UIWindow?


func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
// Override point for customization after application launch.
return true
}

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

func applicationDidEnterBackground(application: UIApplication) {
// 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.
}

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

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

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


}

Loading