diff --git a/Cartfile b/Cartfile
index a498951..500bf58 100644
--- a/Cartfile
+++ b/Cartfile
@@ -2,7 +2,6 @@ github "Alamofire/Alamofire"
github "SwiftyJSON/SwiftyJSON"
github "danielrhodes/Swift-ActionCableClient"
github "daltoniam/starscream" == 2.0.1
-github "gilesvangruisen/Swift-YouTube-Player"
github "Alamofire/AlamofireImage" ~> 3.3
github "xmartlabs/XLPagerTabStrip" ~> 8.0
github "malcommac/ScrollingStackContainer" ~> 0.5
diff --git a/Cartfile.resolved b/Cartfile.resolved
index 3bad277..9586742 100644
--- a/Cartfile.resolved
+++ b/Cartfile.resolved
@@ -3,7 +3,6 @@ github "Alamofire/AlamofireImage" "3.3.0"
github "SwiftyJSON/SwiftyJSON" "4.0.0"
github "daltoniam/starscream" "2.0.1"
github "danielrhodes/Swift-ActionCableClient" "v0.2.3"
-github "gilesvangruisen/Swift-YouTube-Player" "v0.4.0"
github "malcommac/ScrollingStackContainer" "0.5.0"
github "xmartlabs/XLPagerTabStrip" "8.0.1"
github "youtube/youtube-ios-player-helper" "0.1.6"
diff --git a/Carthage/Checkouts/Swift-YouTube-Player/.gitignore b/Carthage/Checkouts/Swift-YouTube-Player/.gitignore
deleted file mode 100644
index d212578..0000000
--- a/Carthage/Checkouts/Swift-YouTube-Player/.gitignore
+++ /dev/null
@@ -1,19 +0,0 @@
-#Xcode
-.DS_Store
-*/build/*
-build/*
-*.pbxuser
-!default.pbxuser
-*.mode1v3
-!default.mode1v3
-*.mode2v3
-!default.mode2v3
-*.perspectivev3
-!default.perspectivev3
-xcuserdata
-profile
-*.moved-aside
-DerivedData
-.idea/
-*.hmap
-*.xccheckout
diff --git a/Carthage/Checkouts/Swift-YouTube-Player/LICENSE b/Carthage/Checkouts/Swift-YouTube-Player/LICENSE
deleted file mode 100644
index 47abe51..0000000
--- a/Carthage/Checkouts/Swift-YouTube-Player/LICENSE
+++ /dev/null
@@ -1,7 +0,0 @@
-Copyright (C) 2015 Giles Van Gruisen.
-
-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.
\ No newline at end of file
diff --git a/Carthage/Checkouts/Swift-YouTube-Player/README.md b/Carthage/Checkouts/Swift-YouTube-Player/README.md
deleted file mode 100644
index 8ec9fc4..0000000
--- a/Carthage/Checkouts/Swift-YouTube-Player/README.md
+++ /dev/null
@@ -1,90 +0,0 @@
-# YouTubePlayer
-
-Embed and control YouTube videos in your iOS applications! Neato, right? Let's see how it works.
-
-## Installation
-
-### Carthage
-
-Add this to your Cartfile:
-
-```
-github "gilesvangruisen/Swift-YouTube-Player"
-```
-
-…and then run `carthage update`
-
-Don't forget to:
-* add `YouTubePlayer.framework` to the `Link binary with libraries` build phase
-* add `YouTubePlayer.framework` as an input file to the `carthage copy-frameworks` run script phase (only necesasry if you're building for iOS)
-
-See [Carthage](http://github.com/carthage/carthage) for more information about using Carthage as a dependency manager.
-
-### Cocoapods
-
-Ensure you are opting into using frameworks with `use_frameworks!`. Then add the following to your Podfile:
-
-```
-pod 'YouTubePlayer'
-```
-
-…and then run `pod install`.
-
-
-## Example
-
-```Swift
-// Import Swift module
-import YouTubePlayer
-```
-
-Build and lay out the view however you wish, whether in IB w/ an outlet or programmatically.
-```Swift
-@IBOutlet var videoPlayer: YouTubePlayerView!
-```
-```Swift
-// init YouTubePlayerView w/ playerFrame rect (assume playerFrame declared)
-var videoPlayer = YouTubePlayerView(frame: playerFrame)
-```
-
-Give the player a video to load, whether from ID or URL.
-```Swift
-// Load video from YouTube ID
-videoPlayer.loadVideoID("nfWlot6h_JM")
-```
-```Swift
-// Load video from YouTube URL
-let myVideoURL = NSURL(string: "https://www.youtube.com/watch?v=wQg3bXrVLtg")
-videoPlayer.loadVideoURL(myVideoURL!)
-```
-
-## Controlling YouTubePlayerView
-
-Each `YouTubePlayerView` has methods for controlling the player (play, pause, seek, change video, etc.) They are:
-
-* `func loadVideoURL(videoURL: NSURL)`
-* `func loadVideoID(videoID: String)`
-* `func loadPlaylistID(playlistID: String)`
-* `func play()`
-* `func pause()`
-* `func stop()`
-* `func clear()`
-* `func seekTo(seconds: Float, seekAhead: Bool)`
-* `func previousVideo()`
-* `func nextVideo()`
-* `func getCurrentTime()`
-* `func getDuration()`
-
-Please note that calls to all but the first two methods will result in a JavaScript runtime error if they are called before the player is ready. The player will not be ready until shortly after a call to either `loadVideoURL(videoURL: NSURL)` or `loadVideoID(videoID: String)`. You can check the readiness of the player at any time by checking its `ready: Bool` property. These functions run asynchronously, so it is not guaranteed that a call to a play function will be safe if it immediately follows a call to a load function. I plan to update the library soon to add completion handlers to be called when the player is ready.
-
-In the meantime, you can also the `YouTubePlayerDelegate` method `playerReady(videoPlayer: YouTubePlayerView)` to ensure code is executed immediately when the player becomes ready.
-
-## Responding to events
-
-[YouTube's iFrame player](https://developers.google.com/youtube/iframe_api_reference) emits certain events based on the lifecycle of the player. The `YouTubePlayerDelegate` outlines these methods that get called during a player's lifecycle. They are:
-
-* `func playerReady(videoPlayer: YouTubePlayerView)`
-* `func playerStateChanged(videoPlayer: YouTubePlayerView, playerState: YouTubePlayerState)`
-* `func playerQualityChanged(videoPlayer: YouTubePlayerView, playbackQuality: YouTubePlaybackQuality)`
-
-*Side note:* All these delegate methods are optional which means that you can implement none, all, or some of them in your delegate class.
diff --git a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayer.podspec b/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayer.podspec
deleted file mode 100644
index 363655d..0000000
--- a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayer.podspec
+++ /dev/null
@@ -1,14 +0,0 @@
-Pod::Spec.new do |s|
- s.name = "YouTubePlayer"
- s.version = "0.4.0"
- s.summary = "Swift library for embedding and controlling YouTube videos in your iOS applications"
- s.homepage = "https://github.com/gilesvangruisen/Swift-YouTube-Player"
- s.license = { :type => "MIT", :file => "LICENSE" }
- s.author = { "Giles Van Gruisen" => "giles@vangruisen.com" }
- s.social_media_url = "http://twitter.com/gilesvangruisen"
- s.platform = :ios, "8.0"
- s.source = { :git => "https://github.com/gilesvangruisen/Swift-YouTube-Player.git", :tag => "v#{s.version}" }
- s.source_files = "YouTubePlayer/**/*.{swift,h,m}"
- s.exclude_files = "Classes/Exclude"
- s.resources = 'YouTubePlayer/**/*.html'
-end
diff --git a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayer.xcworkspace/contents.xcworkspacedata b/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayer.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index 2aefbc4..0000000
--- a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayer.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
diff --git a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayer/YouTubePlayer.xcodeproj/project.pbxproj b/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayer/YouTubePlayer.xcodeproj/project.pbxproj
deleted file mode 100644
index 87636ce..0000000
--- a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayer/YouTubePlayer.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,303 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 46;
- objects = {
-
-/* Begin PBXBuildFile section */
- 50E5B9C91A4CAA050099BF69 /* YTPlayer.html in Resources */ = {isa = PBXBuildFile; fileRef = 50E5B9C81A4CAA050099BF69 /* YTPlayer.html */; };
- 50E5B9CB1A4CAA150099BF69 /* YouTubePlayer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 50E5B9CA1A4CAA150099BF69 /* YouTubePlayer.swift */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXFileReference section */
- 502AE85F1A475FD500306AD1 /* YouTubePlayer.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = YouTubePlayer.framework; sourceTree = BUILT_PRODUCTS_DIR; };
- 502AE8631A475FD500306AD1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; name = Info.plist; path = YouTubePlayer/Info.plist; sourceTree = ""; };
- 50E5B9C81A4CAA050099BF69 /* YTPlayer.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; name = YTPlayer.html; path = YouTubePlayer/YTPlayer.html; sourceTree = SOURCE_ROOT; };
- 50E5B9CA1A4CAA150099BF69 /* YouTubePlayer.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = YouTubePlayer.swift; path = YouTubePlayer/YouTubePlayer.swift; sourceTree = SOURCE_ROOT; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
- 502AE85B1A475FD500306AD1 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- 502AE8551A475FD500306AD1 = {
- isa = PBXGroup;
- children = (
- 502AE8611A475FD500306AD1 /* YouTubePlayer */,
- 502AE8601A475FD500306AD1 /* Products */,
- );
- sourceTree = "";
- };
- 502AE8601A475FD500306AD1 /* Products */ = {
- isa = PBXGroup;
- children = (
- 502AE85F1A475FD500306AD1 /* YouTubePlayer.framework */,
- );
- name = Products;
- sourceTree = "";
- };
- 502AE8611A475FD500306AD1 /* YouTubePlayer */ = {
- isa = PBXGroup;
- children = (
- 50E5B9CA1A4CAA150099BF69 /* YouTubePlayer.swift */,
- 50E5B9C81A4CAA050099BF69 /* YTPlayer.html */,
- 502AE8621A475FD500306AD1 /* Supporting Files */,
- );
- name = YouTubePlayer;
- path = SwiftyYouTube;
- sourceTree = "";
- };
- 502AE8621A475FD500306AD1 /* Supporting Files */ = {
- isa = PBXGroup;
- children = (
- 502AE8631A475FD500306AD1 /* Info.plist */,
- );
- name = "Supporting Files";
- sourceTree = "";
- };
-/* End PBXGroup section */
-
-/* Begin PBXHeadersBuildPhase section */
- 502AE85C1A475FD500306AD1 /* Headers */ = {
- isa = PBXHeadersBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXHeadersBuildPhase section */
-
-/* Begin PBXNativeTarget section */
- 502AE85E1A475FD500306AD1 /* YouTubePlayer */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 502AE8751A475FD500306AD1 /* Build configuration list for PBXNativeTarget "YouTubePlayer" */;
- buildPhases = (
- 502AE85C1A475FD500306AD1 /* Headers */,
- 502AE85B1A475FD500306AD1 /* Frameworks */,
- 502AE85D1A475FD500306AD1 /* Resources */,
- 502AE85A1A475FD500306AD1 /* Sources */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = YouTubePlayer;
- productName = SwiftyYouTube;
- productReference = 502AE85F1A475FD500306AD1 /* YouTubePlayer.framework */;
- productType = "com.apple.product-type.framework";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- 502AE8561A475FD500306AD1 /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastSwiftUpdateCheck = 0700;
- LastUpgradeCheck = 0700;
- ORGANIZATIONNAME = "Giles Van Gruisen";
- TargetAttributes = {
- 502AE85E1A475FD500306AD1 = {
- CreatedOnToolsVersion = 6.1;
- LastSwiftMigration = 0810;
- };
- };
- };
- buildConfigurationList = 502AE8591A475FD500306AD1 /* Build configuration list for PBXProject "YouTubePlayer" */;
- compatibilityVersion = "Xcode 3.2";
- developmentRegion = English;
- hasScannedForEncodings = 0;
- knownRegions = (
- en,
- );
- mainGroup = 502AE8551A475FD500306AD1;
- productRefGroup = 502AE8601A475FD500306AD1 /* Products */;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- 502AE85E1A475FD500306AD1 /* YouTubePlayer */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXResourcesBuildPhase section */
- 502AE85D1A475FD500306AD1 /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 50E5B9C91A4CAA050099BF69 /* YTPlayer.html in Resources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
- 502AE85A1A475FD500306AD1 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 50E5B9CB1A4CAA150099BF69 /* YouTubePlayer.swift in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin XCBuildConfiguration section */
- 502AE8731A475FD500306AD1 /* 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;
- CURRENT_PROJECT_VERSION = 1;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- ENABLE_TESTABILITY = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_SYMBOLS_PRIVATE_EXTERN = NO;
- 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 = 8.0;
- MTL_ENABLE_DEBUG_INFO = YES;
- ONLY_ACTIVE_ARCH = YES;
- SDKROOT = iphoneos;
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- TARGETED_DEVICE_FAMILY = "1,2";
- VERSIONING_SYSTEM = "apple-generic";
- VERSION_INFO_PREFIX = "";
- };
- name = Debug;
- };
- 502AE8741A475FD500306AD1 /* 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 = YES;
- CURRENT_PROJECT_VERSION = 1;
- ENABLE_NS_ASSERTIONS = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- 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 = 8.0;
- MTL_ENABLE_DEBUG_INFO = NO;
- SDKROOT = iphoneos;
- TARGETED_DEVICE_FAMILY = "1,2";
- VALIDATE_PRODUCT = YES;
- VERSIONING_SYSTEM = "apple-generic";
- VERSION_INFO_PREFIX = "";
- };
- name = Release;
- };
- 502AE8761A475FD500306AD1 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- CLANG_ENABLE_MODULES = YES;
- DEFINES_MODULE = YES;
- DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 1;
- DYLIB_INSTALL_NAME_BASE = "@rpath";
- INFOPLIST_FILE = "$(SOURCE_ROOT)/YouTubePlayer/Info.plist";
- INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
- PRODUCT_BUNDLE_IDENTIFIER = "com.gilesvangruisen.$(PRODUCT_NAME:rfc1034identifier)";
- PRODUCT_NAME = YouTubePlayer;
- SKIP_INSTALL = YES;
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- SWIFT_VERSION = 3.0;
- };
- name = Debug;
- };
- 502AE8771A475FD500306AD1 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- CLANG_ENABLE_MODULES = YES;
- DEFINES_MODULE = YES;
- DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 1;
- DYLIB_INSTALL_NAME_BASE = "@rpath";
- INFOPLIST_FILE = "$(SOURCE_ROOT)/YouTubePlayer/Info.plist";
- INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
- PRODUCT_BUNDLE_IDENTIFIER = "com.gilesvangruisen.$(PRODUCT_NAME:rfc1034identifier)";
- PRODUCT_NAME = YouTubePlayer;
- SKIP_INSTALL = YES;
- SWIFT_VERSION = 3.0;
- };
- name = Release;
- };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
- 502AE8591A475FD500306AD1 /* Build configuration list for PBXProject "YouTubePlayer" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 502AE8731A475FD500306AD1 /* Debug */,
- 502AE8741A475FD500306AD1 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 502AE8751A475FD500306AD1 /* Build configuration list for PBXNativeTarget "YouTubePlayer" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 502AE8761A475FD500306AD1 /* Debug */,
- 502AE8771A475FD500306AD1 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
-/* End XCConfigurationList section */
- };
- rootObject = 502AE8561A475FD500306AD1 /* Project object */;
-}
diff --git a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayer/YouTubePlayer.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayer/YouTubePlayer.xcodeproj/project.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index 763c2aa..0000000
--- a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayer/YouTubePlayer.xcodeproj/project.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
diff --git a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayer/YouTubePlayer.xcodeproj/xcshareddata/xcschemes/YouTubePlayer.xcscheme b/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayer/YouTubePlayer.xcodeproj/xcshareddata/xcschemes/YouTubePlayer.xcscheme
deleted file mode 100644
index 95fd6cb..0000000
--- a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayer/YouTubePlayer.xcodeproj/xcshareddata/xcschemes/YouTubePlayer.xcscheme
+++ /dev/null
@@ -1,84 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayer/YouTubePlayer/Info.plist b/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayer/YouTubePlayer/Info.plist
deleted file mode 100644
index 31fb8fc..0000000
--- a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayer/YouTubePlayer/Info.plist
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
- CFBundleDevelopmentRegion
- en
- CFBundleExecutable
- $(EXECUTABLE_NAME)
- CFBundleIdentifier
- $(PRODUCT_BUNDLE_IDENTIFIER)
- CFBundleInfoDictionaryVersion
- 6.0
- CFBundleName
- $(PRODUCT_NAME)
- CFBundlePackageType
- FMWK
- CFBundleShortVersionString
- 0.2
- CFBundleSignature
- ????
- CFBundleVersion
- $(CURRENT_PROJECT_VERSION)
- NSPrincipalClass
-
-
-
diff --git a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayer/YouTubePlayer/YTPlayer.html b/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayer/YouTubePlayer/YTPlayer.html
deleted file mode 100644
index bafb737..0000000
--- a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayer/YouTubePlayer/YTPlayer.html
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayer/YouTubePlayer/YouTubePlayer.swift b/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayer/YouTubePlayer/YouTubePlayer.swift
deleted file mode 100644
index 8f2f1a8..0000000
--- a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayer/YouTubePlayer/YouTubePlayer.swift
+++ /dev/null
@@ -1,353 +0,0 @@
-//
-// VideoPlayerView.swift
-// YouTubePlayer
-//
-// Created by Giles Van Gruisen on 12/21/14.
-// Copyright (c) 2014 Giles Van Gruisen. All rights reserved.
-//
-
-import UIKit
-
-public enum YouTubePlayerState: String {
- case Unstarted = "-1"
- case Ended = "0"
- case Playing = "1"
- case Paused = "2"
- case Buffering = "3"
- case Queued = "4"
-}
-
-public enum YouTubePlayerEvents: String {
- case YouTubeIframeAPIReady = "onYouTubeIframeAPIReady"
- case Ready = "onReady"
- case StateChange = "onStateChange"
- case PlaybackQualityChange = "onPlaybackQualityChange"
-}
-
-public enum YouTubePlaybackQuality: String {
- case Small = "small"
- case Medium = "medium"
- case Large = "large"
- case HD720 = "hd720"
- case HD1080 = "hd1080"
- case HighResolution = "highres"
-}
-
-public protocol YouTubePlayerDelegate: class {
- func playerReady(_ videoPlayer: YouTubePlayerView)
- func playerStateChanged(_ videoPlayer: YouTubePlayerView, playerState: YouTubePlayerState)
- func playerQualityChanged(_ videoPlayer: YouTubePlayerView, playbackQuality: YouTubePlaybackQuality)
-}
-
-// Make delegate methods optional by providing default implementations
-public extension YouTubePlayerDelegate {
-
- func playerReady(_ videoPlayer: YouTubePlayerView) {}
- func playerStateChanged(_ videoPlayer: YouTubePlayerView, playerState: YouTubePlayerState) {}
- func playerQualityChanged(_ videoPlayer: YouTubePlayerView, playbackQuality: YouTubePlaybackQuality) {}
-
-}
-
-private extension URL {
- func queryStringComponents() -> [String: AnyObject] {
-
- var dict = [String: AnyObject]()
-
- // Check for query string
- if let query = self.query {
-
- // Loop through pairings (separated by &)
- for pair in query.components(separatedBy: "&") {
-
- // Pull key, val from from pair parts (separated by =) and set dict[key] = value
- let components = pair.components(separatedBy: "=")
- if (components.count > 1) {
- dict[components[0]] = components[1] as AnyObject?
- }
- }
-
- }
-
- return dict
- }
-}
-
-public func videoIDFromYouTubeURL(_ videoURL: URL) -> String? {
- if videoURL.pathComponents.count > 1 && (videoURL.host?.hasSuffix("youtu.be"))! {
- return videoURL.pathComponents[1]
- }
- return videoURL.queryStringComponents()["v"] as? String
-}
-
-/** Embed and control YouTube videos */
-open class YouTubePlayerView: UIView, UIWebViewDelegate {
-
- public typealias YouTubePlayerParameters = [String: AnyObject]
-
- fileprivate var webView: UIWebView!
-
- /** The readiness of the player */
- fileprivate(set) open var ready = false
-
- /** The current state of the video player */
- fileprivate(set) open var playerState = YouTubePlayerState.Unstarted
-
- /** The current playback quality of the video player */
- fileprivate(set) open var playbackQuality = YouTubePlaybackQuality.Small
-
- /** Used to configure the player */
- open var playerVars = YouTubePlayerParameters()
-
- /** Used to respond to player events */
- open weak var delegate: YouTubePlayerDelegate?
-
-
- // MARK: Various methods for initialization
-
- override public init(frame: CGRect) {
- super.init(frame: frame)
- buildWebView(playerParameters())
- }
-
- required public init?(coder aDecoder: NSCoder) {
- super.init(coder: aDecoder)
- buildWebView(playerParameters())
- }
-
- override open func layoutSubviews() {
- super.layoutSubviews()
-
- // Remove web view in case it's within view hierarchy, reset frame, add as subview
- webView.removeFromSuperview()
- webView.frame = bounds
- addSubview(webView)
- }
-
-
- // MARK: Web view initialization
-
- fileprivate func buildWebView(_ parameters: [String: AnyObject]) {
- webView = UIWebView()
- webView.allowsInlineMediaPlayback = true
- webView.mediaPlaybackRequiresUserAction = false
- webView.delegate = self
- webView.scrollView.isScrollEnabled = false
- }
-
-
- // MARK: Load player
-
- open func loadVideoURL(_ videoURL: URL) {
- if let videoID = videoIDFromYouTubeURL(videoURL) {
- loadVideoID(videoID)
- }
- }
-
- open func loadVideoID(_ videoID: String) {
- var playerParams = playerParameters()
- playerParams["videoId"] = videoID as AnyObject?
-
- loadWebViewWithParameters(playerParams)
- }
-
- open func loadPlaylistID(_ playlistID: String) {
- // No videoId necessary when listType = playlist, list = [playlist Id]
- playerVars["listType"] = "playlist" as AnyObject?
- playerVars["list"] = playlistID as AnyObject?
-
- loadWebViewWithParameters(playerParameters())
- }
-
-
- // MARK: Player controls
-
- open func mute() {
- evaluatePlayerCommand("mute()")
- }
-
- open func unMute() {
- evaluatePlayerCommand("unMute()")
- }
-
- open func play() {
- evaluatePlayerCommand("playVideo()")
- }
-
- open func pause() {
- evaluatePlayerCommand("pauseVideo()")
- }
-
- open func stop() {
- evaluatePlayerCommand("stopVideo()")
- }
-
- open func clear() {
- evaluatePlayerCommand("clearVideo()")
- }
-
- open func seekTo(_ seconds: Float, seekAhead: Bool) {
- evaluatePlayerCommand("seekTo(\(seconds), \(seekAhead))")
- }
-
- open func getDuration() -> String? {
- return evaluatePlayerCommand("getDuration()")
- }
-
- open func getCurrentTime() -> String? {
- return evaluatePlayerCommand("getCurrentTime()")
- }
-
- // MARK: Playlist controls
-
- open func previousVideo() {
- evaluatePlayerCommand("previousVideo()")
- }
-
- open func nextVideo() {
- evaluatePlayerCommand("nextVideo()")
- }
-
- fileprivate func evaluatePlayerCommand(_ command: String) -> String? {
- let fullCommand = "player." + command + ";"
- return webView.stringByEvaluatingJavaScript(from: fullCommand)
- }
-
-
- // MARK: Player setup
-
- fileprivate func loadWebViewWithParameters(_ parameters: YouTubePlayerParameters) {
-
- // Get HTML from player file in bundle
- let rawHTMLString = htmlStringWithFilePath(playerHTMLPath())!
-
- // Get JSON serialized parameters string
- let jsonParameters = serializedJSON(parameters as AnyObject)!
-
- // Replace %@ in rawHTMLString with jsonParameters string
- let htmlString = rawHTMLString.replacingOccurrences(of: "%@", with: jsonParameters)
-
- // Load HTML in web view
- webView.loadHTMLString(htmlString, baseURL: URL(string: "about:blank"))
- }
-
- fileprivate func playerHTMLPath() -> String {
- return Bundle(for: self.classForCoder).path(forResource: "YTPlayer", ofType: "html")!
- }
-
- fileprivate func htmlStringWithFilePath(_ path: String) -> String? {
-
- do {
-
- // Get HTML string from path
- let htmlString = try NSString(contentsOfFile: path, encoding: String.Encoding.utf8.rawValue)
-
- return htmlString as String
-
- } catch _ {
-
- // Error fetching HTML
- printLog("Lookup error: no HTML file found for path")
-
- return nil
- }
- }
-
-
- // MARK: Player parameters and defaults
-
- fileprivate func playerParameters() -> YouTubePlayerParameters {
-
- return [
- "height": "100%" as AnyObject,
- "width": "100%" as AnyObject,
- "events": playerCallbacks() as AnyObject,
- "playerVars": playerVars as AnyObject
- ]
- }
-
- fileprivate func playerCallbacks() -> YouTubePlayerParameters {
- return [
- "onReady": "onReady" as AnyObject,
- "onStateChange": "onStateChange" as AnyObject,
- "onPlaybackQualityChange": "onPlaybackQualityChange" as AnyObject,
- "onError": "onPlayerError" as AnyObject
- ]
- }
-
- fileprivate func serializedJSON(_ object: AnyObject) -> String? {
-
- do {
- // Serialize to JSON string
- let jsonData = try JSONSerialization.data(withJSONObject: object, options: JSONSerialization.WritingOptions.prettyPrinted)
-
- // Succeeded
- return NSString(data: jsonData, encoding: String.Encoding.utf8.rawValue) as? String
-
- } catch let jsonError {
-
- // JSON serialization failed
- print(jsonError)
- printLog("Error parsing JSON")
-
- return nil
- }
- }
-
-
- // MARK: JS Event Handling
-
- fileprivate func handleJSEvent(_ eventURL: URL) {
-
- // Grab the last component of the queryString as string
- let data: String? = eventURL.queryStringComponents()["data"] as? String
-
- if let host = eventURL.host, let event = YouTubePlayerEvents(rawValue: host) {
-
- // Check event type and handle accordingly
- switch event {
- case .YouTubeIframeAPIReady:
- ready = true
- break
-
- case .Ready:
- delegate?.playerReady(self)
-
- break
-
- case .StateChange:
- if let newState = YouTubePlayerState(rawValue: data!) {
- playerState = newState
- delegate?.playerStateChanged(self, playerState: newState)
- }
-
- break
-
- case .PlaybackQualityChange:
- if let newQuality = YouTubePlaybackQuality(rawValue: data!) {
- playbackQuality = newQuality
- delegate?.playerQualityChanged(self, playbackQuality: newQuality)
- }
-
- break
- }
- }
- }
-
-
- // MARK: UIWebViewDelegate
-
- open func webView(_ webView: UIWebView, shouldStartLoadWith request: URLRequest, navigationType: UIWebViewNavigationType) -> Bool {
-
- let url = request.url
-
- // Check if ytplayer event and, if so, pass to handleJSEvent
- if let url = url, url.scheme == "ytplayer" { handleJSEvent(url) }
-
- return true
- }
-}
-
-private func printLog(_ strings: CustomStringConvertible...) {
- let toPrint = ["[YouTubePlayer]"] + strings
- print(toPrint, separator: " ", terminator: "\n")
-}
diff --git a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayerExample/YouTubePlayerExample.xcodeproj/project.pbxproj b/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayerExample/YouTubePlayerExample.xcodeproj/project.pbxproj
deleted file mode 100644
index 6b7a172..0000000
--- a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayerExample/YouTubePlayerExample.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,297 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 46;
- objects = {
-
-/* Begin PBXBuildFile section */
- 50BB8AE81A7D914C00216B49 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 50BB8AE71A7D914C00216B49 /* AppDelegate.swift */; };
- 50BB8AEA1A7D914C00216B49 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 50BB8AE91A7D914C00216B49 /* ViewController.swift */; };
- 50BB8AED1A7D914C00216B49 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 50BB8AEB1A7D914C00216B49 /* Main.storyboard */; };
- 50BB8AEF1A7D914C00216B49 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 50BB8AEE1A7D914C00216B49 /* Images.xcassets */; };
- 50BB8AF21A7D914C00216B49 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 50BB8AF01A7D914C00216B49 /* LaunchScreen.xib */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXFileReference section */
- 50BB8AE21A7D914C00216B49 /* YouTubePlayerExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = YouTubePlayerExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
- 50BB8AE61A7D914C00216B49 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
- 50BB8AE71A7D914C00216B49 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
- 50BB8AE91A7D914C00216B49 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; };
- 50BB8AEC1A7D914C00216B49 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
- 50BB8AEE1A7D914C00216B49 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; };
- 50BB8AF11A7D914C00216B49 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
- 50BB8ADF1A7D914C00216B49 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- 50BB8AD91A7D914C00216B49 = {
- isa = PBXGroup;
- children = (
- 50BB8AE41A7D914C00216B49 /* YouTubePlayerExample */,
- 50BB8AE31A7D914C00216B49 /* Products */,
- );
- sourceTree = "";
- };
- 50BB8AE31A7D914C00216B49 /* Products */ = {
- isa = PBXGroup;
- children = (
- 50BB8AE21A7D914C00216B49 /* YouTubePlayerExample.app */,
- );
- name = Products;
- sourceTree = "";
- };
- 50BB8AE41A7D914C00216B49 /* YouTubePlayerExample */ = {
- isa = PBXGroup;
- children = (
- 50BB8AE71A7D914C00216B49 /* AppDelegate.swift */,
- 50BB8AE91A7D914C00216B49 /* ViewController.swift */,
- 50BB8AEB1A7D914C00216B49 /* Main.storyboard */,
- 50BB8AEE1A7D914C00216B49 /* Images.xcassets */,
- 50BB8AF01A7D914C00216B49 /* LaunchScreen.xib */,
- 50BB8AE51A7D914C00216B49 /* Supporting Files */,
- );
- path = YouTubePlayerExample;
- sourceTree = "";
- };
- 50BB8AE51A7D914C00216B49 /* Supporting Files */ = {
- isa = PBXGroup;
- children = (
- 50BB8AE61A7D914C00216B49 /* Info.plist */,
- );
- name = "Supporting Files";
- sourceTree = "";
- };
-/* End PBXGroup section */
-
-/* Begin PBXNativeTarget section */
- 50BB8AE11A7D914C00216B49 /* YouTubePlayerExample */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 50BB8B011A7D914C00216B49 /* Build configuration list for PBXNativeTarget "YouTubePlayerExample" */;
- buildPhases = (
- 50BB8ADE1A7D914C00216B49 /* Sources */,
- 50BB8ADF1A7D914C00216B49 /* Frameworks */,
- 50BB8AE01A7D914C00216B49 /* Resources */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = YouTubePlayerExample;
- productName = YouTubePlayerExample;
- productReference = 50BB8AE21A7D914C00216B49 /* YouTubePlayerExample.app */;
- productType = "com.apple.product-type.application";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- 50BB8ADA1A7D914C00216B49 /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastSwiftUpdateCheck = 0700;
- LastUpgradeCheck = 0700;
- ORGANIZATIONNAME = "Giles Van Gruisen";
- TargetAttributes = {
- 50BB8AE11A7D914C00216B49 = {
- CreatedOnToolsVersion = 6.1;
- };
- };
- };
- buildConfigurationList = 50BB8ADD1A7D914C00216B49 /* Build configuration list for PBXProject "YouTubePlayerExample" */;
- compatibilityVersion = "Xcode 3.2";
- developmentRegion = English;
- hasScannedForEncodings = 0;
- knownRegions = (
- en,
- Base,
- );
- mainGroup = 50BB8AD91A7D914C00216B49;
- productRefGroup = 50BB8AE31A7D914C00216B49 /* Products */;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- 50BB8AE11A7D914C00216B49 /* YouTubePlayerExample */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXResourcesBuildPhase section */
- 50BB8AE01A7D914C00216B49 /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 50BB8AED1A7D914C00216B49 /* Main.storyboard in Resources */,
- 50BB8AF21A7D914C00216B49 /* LaunchScreen.xib in Resources */,
- 50BB8AEF1A7D914C00216B49 /* Images.xcassets in Resources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
- 50BB8ADE1A7D914C00216B49 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 50BB8AEA1A7D914C00216B49 /* ViewController.swift in Sources */,
- 50BB8AE81A7D914C00216B49 /* AppDelegate.swift in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXVariantGroup section */
- 50BB8AEB1A7D914C00216B49 /* Main.storyboard */ = {
- isa = PBXVariantGroup;
- children = (
- 50BB8AEC1A7D914C00216B49 /* Base */,
- );
- name = Main.storyboard;
- sourceTree = "";
- };
- 50BB8AF01A7D914C00216B49 /* LaunchScreen.xib */ = {
- isa = PBXVariantGroup;
- children = (
- 50BB8AF11A7D914C00216B49 /* Base */,
- );
- name = LaunchScreen.xib;
- sourceTree = "";
- };
-/* End PBXVariantGroup section */
-
-/* Begin XCBuildConfiguration section */
- 50BB8AFF1A7D914C00216B49 /* 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;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- ENABLE_TESTABILITY = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_SYMBOLS_PRIVATE_EXTERN = NO;
- 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 = 8.1;
- MTL_ENABLE_DEBUG_INFO = YES;
- ONLY_ACTIVE_ARCH = YES;
- SDKROOT = iphoneos;
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- };
- name = Debug;
- };
- 50BB8B001A7D914C00216B49 /* 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 = YES;
- ENABLE_NS_ASSERTIONS = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- 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 = 8.1;
- MTL_ENABLE_DEBUG_INFO = NO;
- SDKROOT = iphoneos;
- VALIDATE_PRODUCT = YES;
- };
- name = Release;
- };
- 50BB8B021A7D914C00216B49 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- INFOPLIST_FILE = YouTubePlayerExample/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
- PRODUCT_BUNDLE_IDENTIFIER = "com.gilesvangruisen.$(PRODUCT_NAME:rfc1034identifier)";
- PRODUCT_NAME = "$(TARGET_NAME)";
- };
- name = Debug;
- };
- 50BB8B031A7D914C00216B49 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- INFOPLIST_FILE = YouTubePlayerExample/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
- PRODUCT_BUNDLE_IDENTIFIER = "com.gilesvangruisen.$(PRODUCT_NAME:rfc1034identifier)";
- PRODUCT_NAME = "$(TARGET_NAME)";
- };
- name = Release;
- };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
- 50BB8ADD1A7D914C00216B49 /* Build configuration list for PBXProject "YouTubePlayerExample" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 50BB8AFF1A7D914C00216B49 /* Debug */,
- 50BB8B001A7D914C00216B49 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 50BB8B011A7D914C00216B49 /* Build configuration list for PBXNativeTarget "YouTubePlayerExample" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 50BB8B021A7D914C00216B49 /* Debug */,
- 50BB8B031A7D914C00216B49 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
-/* End XCConfigurationList section */
- };
- rootObject = 50BB8ADA1A7D914C00216B49 /* Project object */;
-}
diff --git a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayerExample/YouTubePlayerExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayerExample/YouTubePlayerExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index 3bf031c..0000000
--- a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayerExample/YouTubePlayerExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
diff --git a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayerExample/YouTubePlayerExample/AppDelegate.swift b/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayerExample/YouTubePlayerExample/AppDelegate.swift
deleted file mode 100644
index cd81911..0000000
--- a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayerExample/YouTubePlayerExample/AppDelegate.swift
+++ /dev/null
@@ -1,46 +0,0 @@
-//
-// AppDelegate.swift
-// YouTubePlayerExample
-//
-// Created by Giles Van Gruisen on 1/31/15.
-// Copyright (c) 2015 Giles Van Gruisen. 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:.
- }
-
-
-}
-
diff --git a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayerExample/YouTubePlayerExample/Base.lproj/LaunchScreen.xib b/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayerExample/YouTubePlayerExample/Base.lproj/LaunchScreen.xib
deleted file mode 100644
index d7e2dad..0000000
--- a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayerExample/YouTubePlayerExample/Base.lproj/LaunchScreen.xib
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayerExample/YouTubePlayerExample/Base.lproj/Main.storyboard b/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayerExample/YouTubePlayerExample/Base.lproj/Main.storyboard
deleted file mode 100644
index 890d401..0000000
--- a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayerExample/YouTubePlayerExample/Base.lproj/Main.storyboard
+++ /dev/null
@@ -1,126 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayerExample/YouTubePlayerExample/Images.xcassets/AppIcon.appiconset/Contents.json b/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayerExample/YouTubePlayerExample/Images.xcassets/AppIcon.appiconset/Contents.json
deleted file mode 100644
index 118c98f..0000000
--- a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayerExample/YouTubePlayerExample/Images.xcassets/AppIcon.appiconset/Contents.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "images" : [
- {
- "idiom" : "iphone",
- "size" : "29x29",
- "scale" : "2x"
- },
- {
- "idiom" : "iphone",
- "size" : "29x29",
- "scale" : "3x"
- },
- {
- "idiom" : "iphone",
- "size" : "40x40",
- "scale" : "2x"
- },
- {
- "idiom" : "iphone",
- "size" : "40x40",
- "scale" : "3x"
- },
- {
- "idiom" : "iphone",
- "size" : "60x60",
- "scale" : "2x"
- },
- {
- "idiom" : "iphone",
- "size" : "60x60",
- "scale" : "3x"
- }
- ],
- "info" : {
- "version" : 1,
- "author" : "xcode"
- }
-}
\ No newline at end of file
diff --git a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayerExample/YouTubePlayerExample/Info.plist b/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayerExample/YouTubePlayerExample/Info.plist
deleted file mode 100644
index 6c48029..0000000
--- a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayerExample/YouTubePlayerExample/Info.plist
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
-
- CFBundleDevelopmentRegion
- en
- CFBundleExecutable
- $(EXECUTABLE_NAME)
- CFBundleIdentifier
- $(PRODUCT_BUNDLE_IDENTIFIER)
- CFBundleInfoDictionaryVersion
- 6.0
- CFBundleName
- $(PRODUCT_NAME)
- CFBundlePackageType
- APPL
- CFBundleShortVersionString
- 1.0
- CFBundleSignature
- ????
- CFBundleVersion
- 1
- LSRequiresIPhoneOS
-
- UILaunchStoryboardName
- LaunchScreen
- UIMainStoryboardFile
- Main
- UIRequiredDeviceCapabilities
-
- armv7
-
- UISupportedInterfaceOrientations
-
- UIInterfaceOrientationPortrait
-
-
-
diff --git a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayerExample/YouTubePlayerExample/ViewController.swift b/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayerExample/YouTubePlayerExample/ViewController.swift
deleted file mode 100644
index cc76f15..0000000
--- a/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayerExample/YouTubePlayerExample/ViewController.swift
+++ /dev/null
@@ -1,85 +0,0 @@
-//
-// ViewController.swift
-// YouTubePlayerExample
-//
-// Created by Giles Van Gruisen on 1/31/15.
-// Copyright (c) 2015 Giles Van Gruisen. All rights reserved.
-//
-
-import UIKit
-import YouTubePlayer
-
-class ViewController: UIViewController {
-
- @IBOutlet var playerView: YouTubePlayerView!
- @IBOutlet var playButton: UIButton!
- @IBOutlet var currentTimeButton: UIButton!
- @IBOutlet var durationButton: UIButton!
-
- override func viewDidLoad() {
- super.viewDidLoad()
- // Do any additional setup after loading the view, typically from a nib.
- }
-
- @IBAction func play(sender: UIButton) {
- if playerView.ready {
- if playerView.playerState != YouTubePlayerState.Playing {
- playerView.play()
- playButton.setTitle("Pause", forState: .Normal)
- } else {
- playerView.pause()
- playButton.setTitle("Play", forState: .Normal)
- }
- }
- }
-
- @IBAction func prev(sender: UIButton) {
- playerView.previousVideo()
- }
-
- @IBAction func next(sender: UIButton) {
- playerView.nextVideo()
- }
-
- @IBAction func loadVideo(sender: UIButton) {
- playerView.playerVars = [
- "playsinline": "1",
- "controls": "0",
- "showinfo": "0"
- ]
- playerView.loadVideoID("wQg3bXrVLtg")
- }
-
- @IBAction func loadPlaylist(sender: UIButton) {
- playerView.loadPlaylistID("RDe-ORhEE9VVg")
- }
-
- @IBAction func currentTime(sender: UIButton) {
- let title = String(format: "Current Time %@", playerView.getCurrentTime() ?? "0")
- currentTimeButton.setTitle(title, forState: .Normal)
- }
-
- @IBAction func duration(sender: UIButton) {
- let title = String(format: "Duration %@", playerView.getDuration() ?? "0")
- durationButton.setTitle(title, forState: .Normal)
- }
-
- func showAlert(message: String) {
- self.presentViewController(alertWithMessage(message), animated: true, completion: nil)
- }
-
- func alertWithMessage(message: String) -> UIAlertController {
- let alertController = UIAlertController(title: "", message: message, preferredStyle: .Alert)
- alertController.addAction(UIAlertAction(title: "OK", style: .Cancel, handler: nil))
-
- return alertController
- }
-
- override func didReceiveMemoryWarning() {
- super.didReceiveMemoryWarning()
- // Dispose of any resources that can be recreated.
- }
-
-
-}
-
diff --git a/SyncPod.xcodeproj/project.pbxproj b/SyncPod.xcodeproj/project.pbxproj
index 0011911..7563830 100644
--- a/SyncPod.xcodeproj/project.pbxproj
+++ b/SyncPod.xcodeproj/project.pbxproj
@@ -51,7 +51,6 @@
0DCD202C200D00A5001C90DA /* SignUpViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0DCD202B200D00A5001C90DA /* SignUpViewController.swift */; };
0DCD202E200D02CB001C90DA /* ViewExtentions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0DCD202D200D02CB001C90DA /* ViewExtentions.swift */; };
0DE76208202031D8000A0838 /* UrlExtention.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0DE76207202031D8000A0838 /* UrlExtention.swift */; };
- 0DE94BFD201289A700E26582 /* YouTubePlayer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0DE94BFC201289A700E26582 /* YouTubePlayer.framework */; };
0DF4FACB2036EDA100ABB4F8 /* UserTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0DF4FACA2036EDA100ABB4F8 /* UserTableViewCell.swift */; };
0DF8BF762024D7BD00F250E1 /* ScrollingStackContainer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0DF8BF752024D7BD00F250E1 /* ScrollingStackContainer.framework */; };
0DFDDB74200F092A009C7E56 /* CurrentUser.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0DFDDB73200F092A009C7E56 /* CurrentUser.swift */; };
@@ -141,7 +140,6 @@
0D0507E4202A22C400791EA9 /* AlamofireImage.framework in Frameworks */,
0DF8BF762024D7BD00F250E1 /* ScrollingStackContainer.framework in Frameworks */,
0D67B738201C3B6D00CCB84C /* XLPagerTabStrip.framework in Frameworks */,
- 0DE94BFD201289A700E26582 /* YouTubePlayer.framework in Frameworks */,
0D8BB2B82010A37900C7F6A9 /* Starscream.framework in Frameworks */,
0D8BB2B62010A25700C7F6A9 /* ActionCableClient.framework in Frameworks */,
0D4B438520099E550035DF1D /* SwiftyJSON.framework in Frameworks */,
@@ -474,7 +472,6 @@
"$(SRCROOT)/Carthage/Build/iOS/SwiftyJSON.framework",
"$(SRCROOT)/Carthage/Build/iOS/ActionCableClient.framework",
"$(SRCROOT)/Carthage/Build/iOS/Starscream.framework",
- "$(SRCROOT)/Carthage/Build/iOS/YouTubePlayer.framework",
"$(SRCROOT)/Carthage/Build/iOS/XLPagerTabStrip.framework",
"$(SRCROOT)/Carthage/Build/iOS/ScrollingStackContainer.framework",
"$(SRCROOT)/Carthage/Build/iOS/AlamofireImage.framework",