diff --git a/Examples/VIMVideoPlayer-iOS-Example/Default-568h@2x.png b/Examples/VIMVideoPlayer-iOS-Example/Default-568h@2x.png deleted file mode 100644 index 0891b7a..0000000 Binary files a/Examples/VIMVideoPlayer-iOS-Example/Default-568h@2x.png and /dev/null differ diff --git a/Examples/VIMVideoPlayer-iOS-Example/VIMVideoPlayer-iOS-Example.xcodeproj/project.pbxproj b/Examples/VIMVideoPlayer-iOS-Example/VIMVideoPlayer-iOS-Example.xcodeproj/project.pbxproj deleted file mode 100644 index d53cc16..0000000 --- a/Examples/VIMVideoPlayer-iOS-Example/VIMVideoPlayer-iOS-Example.xcodeproj/project.pbxproj +++ /dev/null @@ -1,316 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 5C8CF55F1C920F220019459C /* waterfall.mp4 in Resources */ = {isa = PBXBuildFile; fileRef = 5C8CF55E1C920F220019459C /* waterfall.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 */; }; - AF8720211CA44863004C752C /* VimeoPlayer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AF8720201CA44863004C752C /* VimeoPlayer.framework */; }; - AF8720231CA44874004C752C /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = AF8720221CA44874004C752C /* Default-568h@2x.png */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - 5C2AD61B1C91C45800D433D5 /* Bridge.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Bridge.h; sourceTree = ""; }; - 5C8CF55E1C920F220019459C /* waterfall.mp4 */ = {isa = PBXFileReference; lastKnownFileType = file; path = waterfall.mp4; sourceTree = ""; }; - 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 = ""; }; - 5CACFE231C90DF0500C35861 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; - 5CACFE261C90DF0500C35861 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - 5CACFE281C90DF0500C35861 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 5CACFE2B1C90DF0500C35861 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; - 5CACFE2D1C90DF0500C35861 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - AF8720201CA44863004C752C /* VimeoPlayer.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VimeoPlayer.framework; path = "../../VIMVideoPlayer-Framework/build/Debug-iphoneos/VimeoPlayer.framework"; sourceTree = ""; }; - AF8720221CA44874004C752C /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 5CACFE1B1C90DF0500C35861 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - AF8720211CA44863004C752C /* VimeoPlayer.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 5CACFE151C90DF0500C35861 = { - isa = PBXGroup; - children = ( - AF8720221CA44874004C752C /* Default-568h@2x.png */, - 5CACFE201C90DF0500C35861 /* VIMVideoPlayer-iOS-Example */, - 5CACFE1F1C90DF0500C35861 /* Products */, - AF871FDF1CA440BA004C752C /* Frameworks */, - ); - sourceTree = ""; - }; - 5CACFE1F1C90DF0500C35861 /* Products */ = { - isa = PBXGroup; - children = ( - 5CACFE1E1C90DF0500C35861 /* VIMVideoPlayer-iOS-Example.app */, - ); - name = Products; - sourceTree = ""; - }; - 5CACFE201C90DF0500C35861 /* VIMVideoPlayer-iOS-Example */ = { - isa = PBXGroup; - children = ( - 5CACFE211C90DF0500C35861 /* AppDelegate.swift */, - 5CACFE231C90DF0500C35861 /* ViewController.swift */, - 5CACFE251C90DF0500C35861 /* Main.storyboard */, - 5CACFE281C90DF0500C35861 /* Assets.xcassets */, - 5CACFE2A1C90DF0500C35861 /* LaunchScreen.storyboard */, - 5CACFE2D1C90DF0500C35861 /* Info.plist */, - 5C8CF55E1C920F220019459C /* waterfall.mp4 */, - 5C2AD61B1C91C45800D433D5 /* Bridge.h */, - ); - path = "VIMVideoPlayer-iOS-Example"; - sourceTree = ""; - }; - AF871FDF1CA440BA004C752C /* Frameworks */ = { - isa = PBXGroup; - children = ( - AF8720201CA44863004C752C /* VimeoPlayer.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; -/* 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 = ( - 5CACFE2C1C90DF0500C35861 /* LaunchScreen.storyboard in Resources */, - 5CACFE291C90DF0500C35861 /* Assets.xcassets in Resources */, - 5C8CF55F1C920F220019459C /* waterfall.mp4 in Resources */, - AF8720231CA44874004C752C /* Default-568h@2x.png 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 */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXVariantGroup section */ - 5CACFE251C90DF0500C35861 /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 5CACFE261C90DF0500C35861 /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - 5CACFE2A1C90DF0500C35861 /* LaunchScreen.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 5CACFE2B1C90DF0500C35861 /* Base */, - ); - name = LaunchScreen.storyboard; - sourceTree = ""; - }; -/* 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.0; - 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.0; - 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; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.vimeo.VIMVideoPlayer-iOS-Example"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "${SRCROOT}/VIMVideoPlayer-iOS-Example/Bridge.h"; - }; - name = Debug; - }; - 5CACFE321C90DF0500C35861 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.vimeo.VIMVideoPlayer-iOS-Example"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "${SRCROOT}/VIMVideoPlayer-iOS-Example/Bridge.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 */; -} diff --git a/Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-Example.xcodeproj/project.pbxproj b/Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-Example.xcodeproj/project.pbxproj new file mode 100644 index 0000000..e0d9288 --- /dev/null +++ b/Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-Example.xcodeproj/project.pbxproj @@ -0,0 +1,525 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + AF8720311CA44FBD004C752C /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF8720301CA44FBD004C752C /* AppDelegate.swift */; }; + AF8720331CA44FBD004C752C /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF8720321CA44FBD004C752C /* ViewController.swift */; }; + AF8720361CA44FBD004C752C /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = AF8720341CA44FBD004C752C /* Main.storyboard */; }; + AF8720381CA44FBD004C752C /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = AF8720371CA44FBD004C752C /* Assets.xcassets */; }; + AF87203B1CA44FBD004C752C /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = AF8720391CA44FBD004C752C /* LaunchScreen.storyboard */; }; + AF8720461CA44FBD004C752C /* VimeoPlayer_iOS_ExampleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF8720451CA44FBD004C752C /* VimeoPlayer_iOS_ExampleTests.swift */; }; + AF8720511CA44FBD004C752C /* VimeoPlayer_iOS_ExampleUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF8720501CA44FBD004C752C /* VimeoPlayer_iOS_ExampleUITests.swift */; }; + AF87205F1CA44FF6004C752C /* VimeoPlayer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AF87205E1CA44FF6004C752C /* VimeoPlayer.framework */; }; + AF8720631CA4507C004C752C /* waterfall.mp4 in Resources */ = {isa = PBXBuildFile; fileRef = AF8720621CA4507C004C752C /* waterfall.mp4 */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + AF8720421CA44FBD004C752C /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = AF8720251CA44FBC004C752C /* Project object */; + proxyType = 1; + remoteGlobalIDString = AF87202C1CA44FBD004C752C; + remoteInfo = "VimeoPlayer-iOS-Example"; + }; + AF87204D1CA44FBD004C752C /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = AF8720251CA44FBC004C752C /* Project object */; + proxyType = 1; + remoteGlobalIDString = AF87202C1CA44FBD004C752C; + remoteInfo = "VimeoPlayer-iOS-Example"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + AF87202D1CA44FBD004C752C /* VimeoPlayer-iOS-Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "VimeoPlayer-iOS-Example.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + AF8720301CA44FBD004C752C /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + AF8720321CA44FBD004C752C /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + AF8720351CA44FBD004C752C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + AF8720371CA44FBD004C752C /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + AF87203A1CA44FBD004C752C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + AF87203C1CA44FBD004C752C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + AF8720411CA44FBD004C752C /* VimeoPlayer-iOS-ExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "VimeoPlayer-iOS-ExampleTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; + AF8720451CA44FBD004C752C /* VimeoPlayer_iOS_ExampleTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VimeoPlayer_iOS_ExampleTests.swift; sourceTree = ""; }; + AF8720471CA44FBD004C752C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + AF87204C1CA44FBD004C752C /* VimeoPlayer-iOS-ExampleUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "VimeoPlayer-iOS-ExampleUITests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; + AF8720501CA44FBD004C752C /* VimeoPlayer_iOS_ExampleUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VimeoPlayer_iOS_ExampleUITests.swift; sourceTree = ""; }; + AF8720521CA44FBD004C752C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + AF87205E1CA44FF6004C752C /* VimeoPlayer.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VimeoPlayer.framework; path = "../../VIMVideoPlayer-Framework/build/Debug-iphoneos/VimeoPlayer.framework"; sourceTree = ""; }; + AF8720611CA4507C004C752C /* Bridge.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Bridge.h; sourceTree = ""; }; + AF8720621CA4507C004C752C /* waterfall.mp4 */ = {isa = PBXFileReference; lastKnownFileType = file; path = waterfall.mp4; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + AF87202A1CA44FBD004C752C /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + AF87205F1CA44FF6004C752C /* VimeoPlayer.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + AF87203E1CA44FBD004C752C /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + AF8720491CA44FBD004C752C /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + AF8720241CA44FBC004C752C = { + isa = PBXGroup; + children = ( + AF87202F1CA44FBD004C752C /* VimeoPlayer-iOS-Example */, + AF8720441CA44FBD004C752C /* VimeoPlayer-iOS-ExampleTests */, + AF87204F1CA44FBD004C752C /* VimeoPlayer-iOS-ExampleUITests */, + AF87202E1CA44FBD004C752C /* Products */, + AF8720601CA45004004C752C /* Frameworks */, + ); + sourceTree = ""; + }; + AF87202E1CA44FBD004C752C /* Products */ = { + isa = PBXGroup; + children = ( + AF87202D1CA44FBD004C752C /* VimeoPlayer-iOS-Example.app */, + AF8720411CA44FBD004C752C /* VimeoPlayer-iOS-ExampleTests.xctest */, + AF87204C1CA44FBD004C752C /* VimeoPlayer-iOS-ExampleUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + AF87202F1CA44FBD004C752C /* VimeoPlayer-iOS-Example */ = { + isa = PBXGroup; + children = ( + AF8720301CA44FBD004C752C /* AppDelegate.swift */, + AF8720321CA44FBD004C752C /* ViewController.swift */, + AF8720341CA44FBD004C752C /* Main.storyboard */, + AF8720371CA44FBD004C752C /* Assets.xcassets */, + AF8720391CA44FBD004C752C /* LaunchScreen.storyboard */, + AF87203C1CA44FBD004C752C /* Info.plist */, + AF8720611CA4507C004C752C /* Bridge.h */, + AF8720621CA4507C004C752C /* waterfall.mp4 */, + ); + path = "VimeoPlayer-iOS-Example"; + sourceTree = ""; + }; + AF8720441CA44FBD004C752C /* VimeoPlayer-iOS-ExampleTests */ = { + isa = PBXGroup; + children = ( + AF8720451CA44FBD004C752C /* VimeoPlayer_iOS_ExampleTests.swift */, + AF8720471CA44FBD004C752C /* Info.plist */, + ); + path = "VimeoPlayer-iOS-ExampleTests"; + sourceTree = ""; + }; + AF87204F1CA44FBD004C752C /* VimeoPlayer-iOS-ExampleUITests */ = { + isa = PBXGroup; + children = ( + AF8720501CA44FBD004C752C /* VimeoPlayer_iOS_ExampleUITests.swift */, + AF8720521CA44FBD004C752C /* Info.plist */, + ); + path = "VimeoPlayer-iOS-ExampleUITests"; + sourceTree = ""; + }; + AF8720601CA45004004C752C /* Frameworks */ = { + isa = PBXGroup; + children = ( + AF87205E1CA44FF6004C752C /* VimeoPlayer.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + AF87202C1CA44FBD004C752C /* VimeoPlayer-iOS-Example */ = { + isa = PBXNativeTarget; + buildConfigurationList = AF8720551CA44FBD004C752C /* Build configuration list for PBXNativeTarget "VimeoPlayer-iOS-Example" */; + buildPhases = ( + AF8720291CA44FBD004C752C /* Sources */, + AF87202A1CA44FBD004C752C /* Frameworks */, + AF87202B1CA44FBD004C752C /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "VimeoPlayer-iOS-Example"; + productName = "VimeoPlayer-iOS-Example"; + productReference = AF87202D1CA44FBD004C752C /* VimeoPlayer-iOS-Example.app */; + productType = "com.apple.product-type.application"; + }; + AF8720401CA44FBD004C752C /* VimeoPlayer-iOS-ExampleTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = AF8720581CA44FBD004C752C /* Build configuration list for PBXNativeTarget "VimeoPlayer-iOS-ExampleTests" */; + buildPhases = ( + AF87203D1CA44FBD004C752C /* Sources */, + AF87203E1CA44FBD004C752C /* Frameworks */, + AF87203F1CA44FBD004C752C /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + AF8720431CA44FBD004C752C /* PBXTargetDependency */, + ); + name = "VimeoPlayer-iOS-ExampleTests"; + productName = "VimeoPlayer-iOS-ExampleTests"; + productReference = AF8720411CA44FBD004C752C /* VimeoPlayer-iOS-ExampleTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + AF87204B1CA44FBD004C752C /* VimeoPlayer-iOS-ExampleUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = AF87205B1CA44FBD004C752C /* Build configuration list for PBXNativeTarget "VimeoPlayer-iOS-ExampleUITests" */; + buildPhases = ( + AF8720481CA44FBD004C752C /* Sources */, + AF8720491CA44FBD004C752C /* Frameworks */, + AF87204A1CA44FBD004C752C /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + AF87204E1CA44FBD004C752C /* PBXTargetDependency */, + ); + name = "VimeoPlayer-iOS-ExampleUITests"; + productName = "VimeoPlayer-iOS-ExampleUITests"; + productReference = AF87204C1CA44FBD004C752C /* VimeoPlayer-iOS-ExampleUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + AF8720251CA44FBC004C752C /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0720; + LastUpgradeCheck = 0720; + ORGANIZATIONNAME = Vimeo; + TargetAttributes = { + AF87202C1CA44FBD004C752C = { + CreatedOnToolsVersion = 7.2; + }; + AF8720401CA44FBD004C752C = { + CreatedOnToolsVersion = 7.2; + TestTargetID = AF87202C1CA44FBD004C752C; + }; + AF87204B1CA44FBD004C752C = { + CreatedOnToolsVersion = 7.2; + TestTargetID = AF87202C1CA44FBD004C752C; + }; + }; + }; + buildConfigurationList = AF8720281CA44FBC004C752C /* Build configuration list for PBXProject "VimeoPlayer-iOS-Example" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = AF8720241CA44FBC004C752C; + productRefGroup = AF87202E1CA44FBD004C752C /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + AF87202C1CA44FBD004C752C /* VimeoPlayer-iOS-Example */, + AF8720401CA44FBD004C752C /* VimeoPlayer-iOS-ExampleTests */, + AF87204B1CA44FBD004C752C /* VimeoPlayer-iOS-ExampleUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + AF87202B1CA44FBD004C752C /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + AF87203B1CA44FBD004C752C /* LaunchScreen.storyboard in Resources */, + AF8720381CA44FBD004C752C /* Assets.xcassets in Resources */, + AF8720631CA4507C004C752C /* waterfall.mp4 in Resources */, + AF8720361CA44FBD004C752C /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + AF87203F1CA44FBD004C752C /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + AF87204A1CA44FBD004C752C /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + AF8720291CA44FBD004C752C /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + AF8720331CA44FBD004C752C /* ViewController.swift in Sources */, + AF8720311CA44FBD004C752C /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + AF87203D1CA44FBD004C752C /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + AF8720461CA44FBD004C752C /* VimeoPlayer_iOS_ExampleTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + AF8720481CA44FBD004C752C /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + AF8720511CA44FBD004C752C /* VimeoPlayer_iOS_ExampleUITests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + AF8720431CA44FBD004C752C /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = AF87202C1CA44FBD004C752C /* VimeoPlayer-iOS-Example */; + targetProxy = AF8720421CA44FBD004C752C /* PBXContainerItemProxy */; + }; + AF87204E1CA44FBD004C752C /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = AF87202C1CA44FBD004C752C /* VimeoPlayer-iOS-Example */; + targetProxy = AF87204D1CA44FBD004C752C /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + AF8720341CA44FBD004C752C /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + AF8720351CA44FBD004C752C /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + AF8720391CA44FBD004C752C /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + AF87203A1CA44FBD004C752C /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + AF8720531CA44FBD004C752C /* 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.0; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + AF8720541CA44FBD004C752C /* 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.0; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + AF8720561CA44FBD004C752C /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + INFOPLIST_FILE = "VimeoPlayer-iOS-Example/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.vimeo.VimeoPlayer-iOS-Example"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OBJC_BRIDGING_HEADER = "${SRCROOT}/VimeoPlayer-iOS-Example/Bridge.h"; + }; + name = Debug; + }; + AF8720571CA44FBD004C752C /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + INFOPLIST_FILE = "VimeoPlayer-iOS-Example/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.vimeo.VimeoPlayer-iOS-Example"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OBJC_BRIDGING_HEADER = "${SRCROOT}/VimeoPlayer-iOS-Example/Bridge.h"; + }; + name = Release; + }; + AF8720591CA44FBD004C752C /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + INFOPLIST_FILE = "VimeoPlayer-iOS-ExampleTests/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.vimeo.VimeoPlayer-iOS-ExampleTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/VimeoPlayer-iOS-Example.app/VimeoPlayer-iOS-Example"; + }; + name = Debug; + }; + AF87205A1CA44FBD004C752C /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + INFOPLIST_FILE = "VimeoPlayer-iOS-ExampleTests/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.vimeo.VimeoPlayer-iOS-ExampleTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/VimeoPlayer-iOS-Example.app/VimeoPlayer-iOS-Example"; + }; + name = Release; + }; + AF87205C1CA44FBD004C752C /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "VimeoPlayer-iOS-ExampleUITests/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.vimeo.VimeoPlayer-iOS-ExampleUITests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_TARGET_NAME = "VimeoPlayer-iOS-Example"; + USES_XCTRUNNER = YES; + }; + name = Debug; + }; + AF87205D1CA44FBD004C752C /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "VimeoPlayer-iOS-ExampleUITests/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.vimeo.VimeoPlayer-iOS-ExampleUITests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_TARGET_NAME = "VimeoPlayer-iOS-Example"; + USES_XCTRUNNER = YES; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + AF8720281CA44FBC004C752C /* Build configuration list for PBXProject "VimeoPlayer-iOS-Example" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + AF8720531CA44FBD004C752C /* Debug */, + AF8720541CA44FBD004C752C /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + AF8720551CA44FBD004C752C /* Build configuration list for PBXNativeTarget "VimeoPlayer-iOS-Example" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + AF8720561CA44FBD004C752C /* Debug */, + AF8720571CA44FBD004C752C /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; + AF8720581CA44FBD004C752C /* Build configuration list for PBXNativeTarget "VimeoPlayer-iOS-ExampleTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + AF8720591CA44FBD004C752C /* Debug */, + AF87205A1CA44FBD004C752C /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; + AF87205B1CA44FBD004C752C /* Build configuration list for PBXNativeTarget "VimeoPlayer-iOS-ExampleUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + AF87205C1CA44FBD004C752C /* Debug */, + AF87205D1CA44FBD004C752C /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = AF8720251CA44FBC004C752C /* Project object */; +} diff --git a/Examples/VIMVideoPlayer-iOS-Example/VIMVideoPlayer-iOS-Example/AppDelegate.swift b/Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-Example/AppDelegate.swift similarity index 62% rename from Examples/VIMVideoPlayer-iOS-Example/VIMVideoPlayer-iOS-Example/AppDelegate.swift rename to Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-Example/AppDelegate.swift index 88801e4..0f59521 100644 --- a/Examples/VIMVideoPlayer-iOS-Example/VIMVideoPlayer-iOS-Example/AppDelegate.swift +++ b/Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-Example/AppDelegate.swift @@ -1,9 +1,27 @@ // // AppDelegate.swift -// VIMVideoPlayer-iOS-Example +// VimeoPlayer-iOS-Example // -// Created by King, Gavin on 3/9/16. -// Copyright © 2016 Gavin King. All rights reserved. +// Created by Alfred Hanssen on 3/24/16. +// Copyright © 2016 Vimeo. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. // import UIKit diff --git a/Examples/VIMVideoPlayer-iOS-Example/VIMVideoPlayer-iOS-Example/Assets.xcassets/AppIcon.appiconset/Contents.json b/Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-Example/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 54% rename from Examples/VIMVideoPlayer-iOS-Example/VIMVideoPlayer-iOS-Example/Assets.xcassets/AppIcon.appiconset/Contents.json rename to Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-Example/Assets.xcassets/AppIcon.appiconset/Contents.json index 36d2c80..118c98f 100644 --- a/Examples/VIMVideoPlayer-iOS-Example/VIMVideoPlayer-iOS-Example/Assets.xcassets/AppIcon.appiconset/Contents.json +++ b/Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-Example/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -29,36 +29,6 @@ "idiom" : "iphone", "size" : "60x60", "scale" : "3x" - }, - { - "idiom" : "ipad", - "size" : "29x29", - "scale" : "1x" - }, - { - "idiom" : "ipad", - "size" : "29x29", - "scale" : "2x" - }, - { - "idiom" : "ipad", - "size" : "40x40", - "scale" : "1x" - }, - { - "idiom" : "ipad", - "size" : "40x40", - "scale" : "2x" - }, - { - "idiom" : "ipad", - "size" : "76x76", - "scale" : "1x" - }, - { - "idiom" : "ipad", - "size" : "76x76", - "scale" : "2x" } ], "info" : { diff --git a/Examples/VIMVideoPlayer-iOS-Example/VIMVideoPlayer-iOS-Example/Base.lproj/LaunchScreen.storyboard b/Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-Example/Base.lproj/LaunchScreen.storyboard similarity index 100% rename from Examples/VIMVideoPlayer-iOS-Example/VIMVideoPlayer-iOS-Example/Base.lproj/LaunchScreen.storyboard rename to Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-Example/Base.lproj/LaunchScreen.storyboard diff --git a/Examples/VIMVideoPlayer-iOS-Example/VIMVideoPlayer-iOS-Example/Base.lproj/Main.storyboard b/Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-Example/Base.lproj/Main.storyboard similarity index 97% rename from Examples/VIMVideoPlayer-iOS-Example/VIMVideoPlayer-iOS-Example/Base.lproj/Main.storyboard rename to Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-Example/Base.lproj/Main.storyboard index 08ac4a1..4a56692 100644 --- a/Examples/VIMVideoPlayer-iOS-Example/VIMVideoPlayer-iOS-Example/Base.lproj/Main.storyboard +++ b/Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-Example/Base.lproj/Main.storyboard @@ -7,7 +7,7 @@ - + diff --git a/Examples/VIMVideoPlayer-iOS-Example/VIMVideoPlayer-iOS-Example/Bridge.h b/Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-Example/Bridge.h similarity index 100% rename from Examples/VIMVideoPlayer-iOS-Example/VIMVideoPlayer-iOS-Example/Bridge.h rename to Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-Example/Bridge.h diff --git a/Examples/VIMVideoPlayer-iOS-Example/VIMVideoPlayer-iOS-Example/Info.plist b/Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-Example/Info.plist similarity index 79% rename from Examples/VIMVideoPlayer-iOS-Example/VIMVideoPlayer-iOS-Example/Info.plist rename to Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-Example/Info.plist index 0ca4d80..6c48029 100644 --- a/Examples/VIMVideoPlayer-iOS-Example/VIMVideoPlayer-iOS-Example/Info.plist +++ b/Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-Example/Info.plist @@ -34,12 +34,5 @@ UIInterfaceOrientationPortrait - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - diff --git a/Examples/VIMVideoPlayer-iOS-Example/VIMVideoPlayer-iOS-Example/ViewController.swift b/Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-Example/ViewController.swift similarity index 75% rename from Examples/VIMVideoPlayer-iOS-Example/VIMVideoPlayer-iOS-Example/ViewController.swift rename to Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-Example/ViewController.swift index 8f560b8..857cfa1 100644 --- a/Examples/VIMVideoPlayer-iOS-Example/VIMVideoPlayer-iOS-Example/ViewController.swift +++ b/Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-Example/ViewController.swift @@ -5,6 +5,24 @@ // Created by King, Gavin on 3/9/16. // Copyright © 2016 Gavin King. All rights reserved. // +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. +// import UIKit diff --git a/Examples/VIMVideoPlayer-iOS-Example/VIMVideoPlayer-iOS-Example/waterfall.mp4 b/Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-Example/waterfall.mp4 similarity index 100% rename from Examples/VIMVideoPlayer-iOS-Example/VIMVideoPlayer-iOS-Example/waterfall.mp4 rename to Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-Example/waterfall.mp4 diff --git a/Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-ExampleTests/Info.plist b/Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-ExampleTests/Info.plist new file mode 100644 index 0000000..ba72822 --- /dev/null +++ b/Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-ExampleTests/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-ExampleTests/VimeoPlayer_iOS_ExampleTests.swift b/Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-ExampleTests/VimeoPlayer_iOS_ExampleTests.swift new file mode 100644 index 0000000..bdb0181 --- /dev/null +++ b/Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-ExampleTests/VimeoPlayer_iOS_ExampleTests.swift @@ -0,0 +1,36 @@ +// +// VimeoPlayer_iOS_ExampleTests.swift +// VimeoPlayer-iOS-ExampleTests +// +// Created by Alfred Hanssen on 3/24/16. +// Copyright © 2016 Vimeo. All rights reserved. +// + +import XCTest +@testable import VimeoPlayer_iOS_Example + +class VimeoPlayer_iOS_ExampleTests: XCTestCase { + + override func setUp() { + super.setUp() + // Put setup code here. This method is called before the invocation of each test method in the class. + } + + override func tearDown() { + // Put teardown code here. This method is called after the invocation of each test method in the class. + super.tearDown() + } + + func testExample() { + // This is an example of a functional test case. + // Use XCTAssert and related functions to verify your tests produce the correct results. + } + + func testPerformanceExample() { + // This is an example of a performance test case. + self.measureBlock { + // Put the code you want to measure the time of here. + } + } + +} diff --git a/Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-ExampleUITests/Info.plist b/Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-ExampleUITests/Info.plist new file mode 100644 index 0000000..ba72822 --- /dev/null +++ b/Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-ExampleUITests/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-ExampleUITests/VimeoPlayer_iOS_ExampleUITests.swift b/Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-ExampleUITests/VimeoPlayer_iOS_ExampleUITests.swift new file mode 100644 index 0000000..37e2128 --- /dev/null +++ b/Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-ExampleUITests/VimeoPlayer_iOS_ExampleUITests.swift @@ -0,0 +1,36 @@ +// +// VimeoPlayer_iOS_ExampleUITests.swift +// VimeoPlayer-iOS-ExampleUITests +// +// Created by Alfred Hanssen on 3/24/16. +// Copyright © 2016 Vimeo. All rights reserved. +// + +import XCTest + +class VimeoPlayer_iOS_ExampleUITests: XCTestCase { + + override func setUp() { + super.setUp() + + // Put setup code here. This method is called before the invocation of each test method in the class. + + // In UI tests it is usually best to stop immediately when a failure occurs. + continueAfterFailure = false + // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method. + XCUIApplication().launch() + + // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. + } + + override func tearDown() { + // Put teardown code here. This method is called after the invocation of each test method in the class. + super.tearDown() + } + + func testExample() { + // Use recording to get started writing UI tests. + // Use XCTAssert and related functions to verify your tests produce the correct results. + } + +} diff --git a/VIMVideoPlayer.xcworkspace/contents.xcworkspacedata b/VIMVideoPlayer.xcworkspace/contents.xcworkspacedata index 7bf8ac9..fec9343 100644 --- a/VIMVideoPlayer.xcworkspace/contents.xcworkspacedata +++ b/VIMVideoPlayer.xcworkspace/contents.xcworkspacedata @@ -2,9 +2,9 @@ + location = "group:Examples/VimeoPlayer-iOS-Example/VimeoPlayer-iOS-Example.xcodeproj"> + location = "group:VIMVideoPlayer-Framework/VimeoPlayer.xcodeproj">