From e4f99bf273e49433e4e7de553e7f4cb857b7d109 Mon Sep 17 00:00:00 2001 From: spinosa Date: Wed, 31 Aug 2016 15:22:22 -0400 Subject: [PATCH 1/5] Make it well known that AVPlayerLayer is created with size CGSizeZero --- Pod/Classes/public/WistiaPlayer.swift | 7 +++++-- README.md | 5 ++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Pod/Classes/public/WistiaPlayer.swift b/Pod/Classes/public/WistiaPlayer.swift index d9ecfb7..88ae448 100644 --- a/Pod/Classes/public/WistiaPlayer.swift +++ b/Pod/Classes/public/WistiaPlayer.swift @@ -13,7 +13,7 @@ import AVFoundation /** The delegate of a `WistiaPlayer` must adopt the `WistiaPlayerDelegate `protocol. It will receive - state related information through the delegaet methods. + state related information through the delegate methods. Information provided includes high-level state about the `WistiaPlayer` as well as state of the underlying `AVPlayer`, normally obtained through Key-Value Observation (KVO). @@ -442,9 +442,12 @@ public final class WistiaPlayer: NSObject { /** Create a new `AVPlayerLayer` configured for this instance of `WistiaPlayer`. This will remove - the player form any previously feteched `AVPlayerLayer`s. + the player form any previously fetched `AVPlayerLayer`s. See `AVPlayerLayer(player:)` for further information. + + - Important: `AVPlayerLayer`s are created with size `CGSizeZero`. You will want to change that + if you wish to see the video. - Returns: A new `AVPlayerLayer` to which we can direct our visual output. */ diff --git a/README.md b/README.md index 46855fa..5d2a38f 100644 --- a/README.md +++ b/README.md @@ -150,7 +150,10 @@ class IntroductionViewController: UIViewController, WistiaPlayerDelegate { override public func viewDidLoad() { wistiaPlayer.delegate = self - playerContainer.layer.addSublayer(wistiaPlayer.newPlayerLayer()) + if let playerLayer = wistiaPlayer.newPlayerLayer() { + playerLayer.frame = playerContainer.layer.bounds + playerContainer.layer.addSublayer(playerLayer) + } wistiaPlayer.replaceCurrentVideoWithVideoForHashedID(IntroVideoHashedID) } From 81b32584f65134bd66d050e1f079243772cb2b2e Mon Sep 17 00:00:00 2001 From: spinosa Date: Wed, 31 Aug 2016 16:13:31 -0400 Subject: [PATCH 2/5] Add example usage of WisitaPlayer --- Example/WistiaKit/Base.lproj/Main.storyboard | 29 +++++++++-- Example/WistiaKit/ViewController.swift | 53 ++++++++++++++++++-- 2 files changed, 75 insertions(+), 7 deletions(-) diff --git a/Example/WistiaKit/Base.lproj/Main.storyboard b/Example/WistiaKit/Base.lproj/Main.storyboard index a3cb824..3a7e827 100644 --- a/Example/WistiaKit/Base.lproj/Main.storyboard +++ b/Example/WistiaKit/Base.lproj/Main.storyboard @@ -1,7 +1,8 @@ - + + @@ -17,7 +18,7 @@ - + @@ -36,19 +37,39 @@ + + + + + + + + + + + - + - + + + + + + + + + + diff --git a/Example/WistiaKit/ViewController.swift b/Example/WistiaKit/ViewController.swift index a99402d..a1072c9 100644 --- a/Example/WistiaKit/ViewController.swift +++ b/Example/WistiaKit/ViewController.swift @@ -11,15 +11,62 @@ import WistiaKit class ViewController: UIViewController { - let wistiaPlayerVC = WistiaPlayerViewController(referrer: "WistiaKitDemo", requireHLS: false) + //MARK: - Common code + + // The playerChooser can switch between playback using a presented WistiaPlayerViewController + // or, at a lower level, using a WistiaPlayer displayed through a sublayer in a child view. + @IBOutlet weak var playerChooser: UISegmentedControl! @IBOutlet weak var hashedIDTextField: UITextField! + // Based on the playerChooser's state, first pause/dismiss the other player, then configure and + // play using the selected one. @IBAction func playTapped(sender: AnyObject) { if let hashedID = hashedIDTextField.text { - wistiaPlayerVC.replaceCurrentVideoWithVideoForHashedID(hashedID) - self.presentViewController(wistiaPlayerVC, animated: true, completion: nil) + switch playerChooser.selectedSegmentIndex { + case 0: + wistiaPlayer.pause() + + //Play using WistiaPlayerViewController + wistiaPlayerVC.replaceCurrentVideoWithVideoForHashedID(hashedID) + self.presentViewController(wistiaPlayerVC, animated: true, completion: nil) + + case 1: + self.dismissViewControllerAnimated(true, completion: nil) + + //Play using WistiaPlayer + wistiaPlayer.replaceCurrentVideoWithVideoForHashedID(hashedID) + wistiaPlayer.play() + + default: + break + } } } + + //MARK: - WistiaPlayerViewController Specific + + let wistiaPlayerVC = WistiaPlayerViewController(referrer: "WistiaKitDemo", requireHLS: false) + + //MARK: - WistiaPlayer Specific + + let wistiaPlayer = WistiaPlayer(referrer: "WistiaKitDemo", requireHLS: false) + var playerLayer:CALayer? //specifically, an AVPlayerLayer; but there's no need to import AVFoundation + @IBOutlet weak var playerView: UIView! + + override func viewDidLoad() { + playerLayer = wistiaPlayer.newPlayerLayer() + if playerLayer != nil { + // AVPlayerLayer isn't configured out of the box + playerLayer!.frame = playerView.layer.bounds + playerView.layer.addSublayer(playerLayer!) + } + } + + override func viewDidLayoutSubviews() { + // Could use Core Animation Constraints instead + playerLayer?.frame = playerView.layer.bounds + } + } From d1ca72bcdb55756368a6f9c8abe60ad169bab2cc Mon Sep 17 00:00:00 2001 From: spinosa Date: Wed, 31 Aug 2016 16:58:46 -0400 Subject: [PATCH 3/5] Simplify and make public WistiaFlatPlayerView --- Example/WistiaKit/Base.lproj/Main.storyboard | 2 +- Example/WistiaKit/ViewController.swift | 15 +---- .../WistiaPlayerViewController_internal.swift | 4 +- .../internal/view/WistiaFlatPlayerView.swift | 58 ------------------- Pod/Classes/public/WistiaFlatPlayerView.swift | 29 ++++++++++ Pod/Classes/public/WistiaPlayer.swift | 10 ++-- README.md | 14 +++-- 7 files changed, 49 insertions(+), 83 deletions(-) delete mode 100644 Pod/Classes/internal/view/WistiaFlatPlayerView.swift create mode 100644 Pod/Classes/public/WistiaFlatPlayerView.swift diff --git a/Example/WistiaKit/Base.lproj/Main.storyboard b/Example/WistiaKit/Base.lproj/Main.storyboard index 3a7e827..1782aec 100644 --- a/Example/WistiaKit/Base.lproj/Main.storyboard +++ b/Example/WistiaKit/Base.lproj/Main.storyboard @@ -37,7 +37,7 @@ - + diff --git a/Example/WistiaKit/ViewController.swift b/Example/WistiaKit/ViewController.swift index a1072c9..fff4b6f 100644 --- a/Example/WistiaKit/ViewController.swift +++ b/Example/WistiaKit/ViewController.swift @@ -51,21 +51,10 @@ class ViewController: UIViewController { //MARK: - WistiaPlayer Specific let wistiaPlayer = WistiaPlayer(referrer: "WistiaKitDemo", requireHLS: false) - var playerLayer:CALayer? //specifically, an AVPlayerLayer; but there's no need to import AVFoundation - @IBOutlet weak var playerView: UIView! + @IBOutlet weak var playerView: WistiaFlatPlayerView! override func viewDidLoad() { - playerLayer = wistiaPlayer.newPlayerLayer() - if playerLayer != nil { - // AVPlayerLayer isn't configured out of the box - playerLayer!.frame = playerView.layer.bounds - playerView.layer.addSublayer(playerLayer!) - } - } - - override func viewDidLayoutSubviews() { - // Could use Core Animation Constraints instead - playerLayer?.frame = playerView.layer.bounds + playerView.wistiaPlayer = wistiaPlayer } } diff --git a/Pod/Classes/internal/view controller/WistiaPlayerViewController_internal.swift b/Pod/Classes/internal/view controller/WistiaPlayerViewController_internal.swift index 5e72f9f..750a591 100644 --- a/Pod/Classes/internal/view controller/WistiaPlayerViewController_internal.swift +++ b/Pod/Classes/internal/view controller/WistiaPlayerViewController_internal.swift @@ -253,13 +253,13 @@ extension WistiaPlayerViewController: WistiaPlayerDelegate { player360View.hidden = false player360View.wPlayer = wPlayer playerFlatView.hidden = true - playerFlatView.playerLayer = nil + playerFlatView.wistiaPlayer = nil } else { playing360 = false player360View.hidden = true player360View.wPlayer = nil playerFlatView.hidden = false - playerFlatView.playerLayer = wPlayer.newPlayerLayer() + playerFlatView.wistiaPlayer = wPlayer } currentMediaEmbedOptions = media.embedOptions diff --git a/Pod/Classes/internal/view/WistiaFlatPlayerView.swift b/Pod/Classes/internal/view/WistiaFlatPlayerView.swift deleted file mode 100644 index d5523ba..0000000 --- a/Pod/Classes/internal/view/WistiaFlatPlayerView.swift +++ /dev/null @@ -1,58 +0,0 @@ -// -// WistiaFlatPlayerView.swift -// WistiaKit -// -// Created by Daniel Spinosa on 11/15/15. -// Copyright © 2016 Wistia, Inc. All rights reserved. -// -// A slightly smarter View for AVPlayerLayers -// -// Set the playerLayer and it will be sized exactly as the normal layer. -// Now you can live in the View world instead of the lower level nitty gritty. -// -// *** Important: do not set the frame, bounds, position, or anchorPoint of playerLayer -// after it is set. Result is undefined. - -import UIKit -import AVKit -import AVFoundation - -internal class WistiaFlatPlayerView: UIView { - - internal var playerLayer:AVPlayerLayer? { - didSet(oldLayer) { - oldLayer?.removeFromSuperlayer() - - if let newLayer = playerLayer { - //New layers have default size (0, 0) and position (0, 0) - //where position is relative to default center anchor: (0.5, 0.5). - //We don't know what was handed to us. - - //For AVPlayerLayer to pefectly overlay its superlayer (ie. our layer), - //and thereby match the this view's frame, we need to do a few things... - - // 1) Set anchor to top-left and position to (0, 0) to keep the AVPlayerLayer - // unmoved relative it's superlayer (ie. this view's layer) - newLayer.position = CGPoint(x: 0, y: 0) - newLayer.anchorPoint = CGPoint(x: 0, y: 0) - - // 2) Change AVPlayerLayer's bounds to this view's layer's bounds - // NB: Our layer will continue to be sized by normal layout mechanisms (see - // layoutSubviews where we keep the bounds synchronized) - newLayer.bounds = self.layer.bounds - - // 3) Add as a sublayer (of equal size at the same screen position) - layer.addSublayer(newLayer) - } - } - } - - override internal func layoutSubviews() { - //Run normal layout mechanisms (ie. iOS solves constraints and updates frames) - super.layoutSubviews() - - // Keep AVPlayerLayer sized correctly (remains relatively unmoved at (0,0)) - playerLayer?.bounds = layer.bounds - } - -} diff --git a/Pod/Classes/public/WistiaFlatPlayerView.swift b/Pod/Classes/public/WistiaFlatPlayerView.swift new file mode 100644 index 0000000..f439552 --- /dev/null +++ b/Pod/Classes/public/WistiaFlatPlayerView.swift @@ -0,0 +1,29 @@ +// +// WistiaFlatPlayerView.swift +// WistiaKit +// +// Created by Daniel Spinosa on 11/15/15. +// Copyright © 2016 Wistia, Inc. All rights reserved. +// +// A View backed by an AVPlayerLayer. +// +// Set the wistiaPlayer and this view will pass it's AVPlayer through to the backing AVPlayerLayer. +// + +import UIKit +import AVKit +import AVFoundation + +public class WistiaFlatPlayerView: UIView { + + override public class func layerClass() -> AnyClass { + return AVPlayerLayer.self + } + + public var wistiaPlayer:WistiaPlayer? { + didSet { + (self.layer as! AVPlayerLayer).player = wistiaPlayer?.avPlayer + } + } + +} diff --git a/Pod/Classes/public/WistiaPlayer.swift b/Pod/Classes/public/WistiaPlayer.swift index 88ae448..16476ec 100644 --- a/Pod/Classes/public/WistiaPlayer.swift +++ b/Pod/Classes/public/WistiaPlayer.swift @@ -442,14 +442,16 @@ public final class WistiaPlayer: NSObject { /** Create a new `AVPlayerLayer` configured for this instance of `WistiaPlayer`. This will remove - the player form any previously fetched `AVPlayerLayer`s. + the player form any previously fetched `AVPlayerLayer`s - See `AVPlayerLayer(player:)` for further information. + - Note: Unless you need a standalone layer, we recommend using a `WistiaFlatPlayerView` and setting + it's `wistiaPlayer` property to this instance. It is a regular `UIView` and often more familiar + than using layers without sacrificing much flexibility. - Important: `AVPlayerLayer`s are created with size `CGSizeZero`. You will want to change that - if you wish to see the video. + if you wish to see the video. See `AVPlayerLayer(player:)` for further information. - - Returns: A new `AVPlayerLayer` to which we can direct our visual output. + - Returns: A new `AVPlayerLayer` to which we direct our visual output. */ public func newPlayerLayer() -> AVPlayerLayer? { return AVPlayerLayer(player: avPlayer) diff --git a/README.md b/README.md index 5d2a38f..26d9228 100644 --- a/README.md +++ b/README.md @@ -138,6 +138,10 @@ This will load the video, but it is up to the user to play and otherwise interac If we want our intro video to behave a little differently, we might use a `WistiaPlayer`. In the following example, we play an intro video without giving the user any way to control the video. They have to sit there and watch it! ``bwaa ha ha ha!`` When video playback completes, we automatically progress to the next intro screen. +Below, we display the video with a `WistiaFlatPlayerView`, which is a plain UIView backed by an `AVPlayerLayer`. This layer is configured to display video content when you set the view's `wistiaPlayer` property to an instance of `WistiaPlayer`. While it behaves like any other `UIView`, allowing you to use common and familiar lifecycle and layout mechanisms, you may clamor for more power. + +A standalone `AVPlayerLayer` is avaiable through an `WistiaPlayer`s `newPlayerLayer()` method. Upon requesting this layer, any previously configured layers or view's will cease to render the content for that player. A newly initialized `AVPlayerLayer` - like any `CALayer` - should have its frame set before being added as a sublayer. You are also responsible for maintaining layout at the layer level, either manually, with `CAConstraint`s, or an other layer-based mechanism. + ```swift import WistiaKit @@ -146,14 +150,14 @@ class IntroductionViewController: UIViewController, WistiaPlayerDelegate { let wistiaPlayer = WistiaPlayer(referrer: "https://wistia.tv/intro") - @IBOutlet weak var playerContainer: UIView! + // In Interface Builder we set the view's class to WistiaFlatPlayerView. + // If we had a compelling reason, we could instead use an AVPlayerLayer directly via `newPlayerLayer()`. + // But a UIView is more familiar without sacrificing much flexibility. + @IBOutlet weak var playerContainer: WistiaFlatPlayerView! override public func viewDidLoad() { wistiaPlayer.delegate = self - if let playerLayer = wistiaPlayer.newPlayerLayer() { - playerLayer.frame = playerContainer.layer.bounds - playerContainer.layer.addSublayer(playerLayer) - } + playerContainer.wistiaPlayer = wistiaPlayer wistiaPlayer.replaceCurrentVideoWithVideoForHashedID(IntroVideoHashedID) } From 8fc61eeb6472c16eee12df1470db2b9025304ddf Mon Sep 17 00:00:00 2001 From: spinosa Date: Wed, 31 Aug 2016 16:59:11 -0400 Subject: [PATCH 4/5] update Alamofire and AlamofireImage pods --- Example/Podfile.lock | 8 +- Example/Pods/Alamofire/README.md | 105 ++++--- Example/Pods/Alamofire/Source/Alamofire.swift | 37 ++- Example/Pods/Alamofire/Source/Download.swift | 12 +- Example/Pods/Alamofire/Source/Manager.swift | 100 ++++--- .../Alamofire/Source/MultipartFormData.swift | 14 +- .../Source/NetworkReachabilityManager.swift | 39 +-- .../Pods/Alamofire/Source/Notifications.swift | 2 +- .../Alamofire/Source/ParameterEncoding.swift | 12 +- Example/Pods/Alamofire/Source/Request.swift | 16 +- Example/Pods/Alamofire/Source/Response.swift | 2 +- .../Source/ResponseSerialization.swift | 20 +- Example/Pods/Alamofire/Source/Result.swift | 6 +- .../Alamofire/Source/ServerTrustPolicy.swift | 36 +-- Example/Pods/Alamofire/Source/Stream.swift | 2 +- Example/Pods/Alamofire/Source/Timeline.swift | 49 ++-- Example/Pods/Alamofire/Source/Upload.swift | 22 +- .../Pods/Alamofire/Source/Validation.swift | 6 +- Example/Pods/AlamofireImage/README.md | 16 +- .../AlamofireImage/Source/ImageCache.swift | 2 +- .../Source/ImageDownloader.swift | 4 +- .../Source/Request+AlamofireImage.swift | 8 +- Example/Pods/Manifest.lock | 8 +- Example/Pods/Pods.xcodeproj/project.pbxproj | 266 +++++++++--------- .../Target Support Files/Alamofire/Info.plist | 2 +- .../AlamofireImage/Info.plist | 2 +- 26 files changed, 434 insertions(+), 362 deletions(-) diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 76bb5f0..274d8cf 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -1,6 +1,6 @@ PODS: - - Alamofire (3.4.0) - - AlamofireImage (2.4.0): + - Alamofire (3.4.2) + - AlamofireImage (2.4.1): - Alamofire (~> 3.3) - WistiaKit (0.9.2): - Alamofire (~> 3.3) @@ -14,8 +14,8 @@ EXTERNAL SOURCES: :path: "../" SPEC CHECKSUMS: - Alamofire: c19a627cefd6a95f840401c49ab1f124e07f54ee - AlamofireImage: 87408b652e0f5ae5fe364035f15aea8b9b24c77e + Alamofire: 6aa33201d20d069e1598891cf928883ff1888c7a + AlamofireImage: 3ccf3347d9ea24580dc11fb892770a0be6a29826 WistiaKit: 8e6e2dc5d9b19c8def82625d760a59c53a5e8705 PODFILE CHECKSUM: 39f4e05824aa046cc4e791747aa25b4d2ab920db diff --git a/Example/Pods/Alamofire/README.md b/Example/Pods/Alamofire/README.md index 68e54e9..e0acf72 100644 --- a/Example/Pods/Alamofire/README.md +++ b/Example/Pods/Alamofire/README.md @@ -70,7 +70,9 @@ source 'https://github.com/CocoaPods/Specs.git' platform :ios, '9.0' use_frameworks! -pod 'Alamofire', '~> 3.4' +target '' do + pod 'Alamofire', '~> 3.4' +end ``` Then, run the following command: @@ -711,6 +713,20 @@ Requests can be suspended, resumed, and cancelled: ### Response Serialization +#### Handling Errors + +Before implementing custom response serializers or object serialization methods, it's important to be prepared to handle any errors that may occur. Alamofire recommends handling these through the use of either your own `NSError` creation methods, or a simple `enum` that conforms to `ErrorType`. For example, this `BackendError` type, which will be used in later examples: + +```swift +public enum BackendError: ErrorType { + case Network(error: NSError) + case DataSerialization(reason: String) + case JSONSerialization(error: NSError) + case ObjectSerialization(reason: String) + case XMLSerialization(error: NSError) +} +``` + #### Creating a Custom Response Serializer Alamofire provides built-in response serialization for strings, JSON, and property lists, but others can be added in extensions on `Alamofire.Request`. @@ -719,26 +735,24 @@ For example, here's how a response handler using [Ono](https://github.com/mattt/ ```swift extension Request { - public static func XMLResponseSerializer() -> ResponseSerializer { + public static func XMLResponseSerializer() -> ResponseSerializer { return ResponseSerializer { request, response, data, error in - guard error == nil else { return .Failure(error!) } + guard error == nil else { return .Failure(.Network(error: error!)) } guard let validData = data else { - let failureReason = "Data could not be serialized. Input data was nil." - let error = Error.errorWithCode(.DataSerializationFailed, failureReason: failureReason) - return .Failure(error) + return .Failure(.DataSerialization(reason: "Data could not be serialized. Input data was nil.")) } do { let XML = try ONOXMLDocument(data: validData) return .Success(XML) } catch { - return .Failure(error as NSError) + return .Failure(.XMLSerialization(error: error as NSError)) } } } - public func responseXMLDocument(completionHandler: Response -> Void) -> Self { + public func responseXMLDocument(completionHandler: Response -> Void) -> Self { return response(responseSerializer: Request.XMLResponseSerializer(), completionHandler: completionHandler) } } @@ -754,9 +768,9 @@ public protocol ResponseObjectSerializable { } extension Request { - public func responseObject(completionHandler: Response -> Void) -> Self { - let responseSerializer = ResponseSerializer { request, response, data, error in - guard error == nil else { return .Failure(error!) } + public func responseObject(completionHandler: Response -> Void) -> Self { + let responseSerializer = ResponseSerializer { request, response, data, error in + guard error == nil else { return .Failure(.Network(error: error!)) } let JSONResponseSerializer = Request.JSONResponseSerializer(options: .AllowFragments) let result = JSONResponseSerializer.serializeResponse(request, response, data, error) @@ -769,12 +783,10 @@ extension Request { { return .Success(responseObject) } else { - let failureReason = "JSON could not be serialized into response object: \(value)" - let error = Error.errorWithCode(.JSONSerializationFailed, failureReason: failureReason) - return .Failure(error) + return .Failure(.ObjectSerialization(reason: "JSON could not be serialized into response object: \(value)")) } case .Failure(let error): - return .Failure(error) + return .Failure(.JSONSerialization(error: error)) } } @@ -797,7 +809,7 @@ final class User: ResponseObjectSerializable { ```swift Alamofire.request(.GET, "https://example.com/users/mattt") - .responseObject { (response: Response) in + .responseObject { (response: Response) in debugPrint(response) } ``` @@ -809,10 +821,26 @@ public protocol ResponseCollectionSerializable { static func collection(response response: NSHTTPURLResponse, representation: AnyObject) -> [Self] } +extension ResponseCollectionSerializable where Self: ResponseObjectSerializable { + static func collection(response response: NSHTTPURLResponse, representation: AnyObject) -> [Self] { + var collection = [Self]() + + if let representation = representation as? [[String: AnyObject]] { + for itemRepresentation in representation { + if let item = Self(response: response, representation: itemRepresentation) { + collection.append(item) + } + } + } + + return collection + } +} + extension Alamofire.Request { - public func responseCollection(completionHandler: Response<[T], NSError> -> Void) -> Self { - let responseSerializer = ResponseSerializer<[T], NSError> { request, response, data, error in - guard error == nil else { return .Failure(error!) } + public func responseCollection(completionHandler: Response<[T], BackendError> -> Void) -> Self { + let responseSerializer = ResponseSerializer<[T], BackendError> { request, response, data, error in + guard error == nil else { return .Failure(.Network(error: error!)) } let JSONSerializer = Request.JSONResponseSerializer(options: .AllowFragments) let result = JSONSerializer.serializeResponse(request, response, data, error) @@ -822,12 +850,10 @@ extension Alamofire.Request { if let response = response { return .Success(T.collection(response: response, representation: value)) } else { - let failureReason = "Response collection could not be serialized due to nil response" - let error = Error.errorWithCode(.JSONSerializationFailed, failureReason: failureReason) - return .Failure(error) + return .Failure(. ObjectSerialization(reason: "Response collection could not be serialized due to nil response")) } case .Failure(let error): - return .Failure(error) + return .Failure(.JSONSerialization(error: error)) } } @@ -845,26 +871,12 @@ final class User: ResponseObjectSerializable, ResponseCollectionSerializable { self.username = response.URL!.lastPathComponent! self.name = representation.valueForKeyPath("name") as! String } - - static func collection(response response: NSHTTPURLResponse, representation: AnyObject) -> [User] { - var users: [User] = [] - - if let representation = representation as? [[String: AnyObject]] { - for userRepresentation in representation { - if let user = User(response: response, representation: userRepresentation) { - users.append(user) - } - } - } - - return users - } } ``` ```swift Alamofire.request(.GET, "http://example.com/users") - .responseCollection { (response: Response<[User], NSError>) in + .responseCollection { (response: Response<[User], BackendError>) in debugPrint(response) } ``` @@ -944,7 +956,7 @@ enum Router: URLRequestConvertible { var URLRequest: NSMutableURLRequest { let result: (path: String, parameters: [String: AnyObject]) = { switch self { - case .Search(let query, let page) where page > 1: + case .Search(let query, let page) where page > 0: return ("/search", ["q": query, "offset": Router.perPage * page]) case .Search(let query, _): return ("/search", ["q": query]) @@ -1248,6 +1260,7 @@ There are some important things to remember when using network reachability to d The following rdars have some affect on the current implementation of Alamofire. * [rdar://21349340](http://www.openradar.me/radar?id=5517037090635776) - Compiler throwing warning due to toll-free bridging issue in test case +* [rdar://26761490](http://www.openradar.me/radar?id=5010235949318144) - Swift string interpolation causing memory leak with common usage ## FAQ @@ -1265,6 +1278,20 @@ Alamofire is owned and maintained by the [Alamofire Software Foundation](http:// If you believe you have identified a security vulnerability with Alamofire, you should report it as soon as possible via email to security@alamofire.org. Please do not post it to a public issue tracker. +## Donations + +The [ASF](https://github.com/Alamofire/Foundation#members) is looking to raise money to officially register as a federal non-profit organization. Registering will allow us members to gain some legal protections and also allow us to put donations to use, tax free. Donating to the ASF will enable us to: + +* Pay our legal fees to register as a federal non-profit organization +* Pay our yearly legal fees to keep the non-profit in good status +* Pay for our mail servers to help us stay on top of all questions and security issues +* Potentially fund test servers to make it easier for us to test the edge cases +* Potentially fund developers to work on one of our projects full-time + +The community adoption of the ASF libraries has been amazing. We are greatly humbled by your enthusiam around the projects, and want to continue to do everything we can to move the needle forward. With your continued support, the ASF will be able to improve its reach and also provide better legal safety for the core members. If you use any of our libraries for work, see if your employers would be interested in donating. Our initial goal is to raise $1000 to get all our legal ducks in a row and kickstart this campaign. Any amount you can donate today to help us reach our goal would be greatly appreciated. + +Click here to lend your support to: Alamofire Software Foundation and make a donation at pledgie.com ! + ## License Alamofire is released under the MIT license. See LICENSE for details. diff --git a/Example/Pods/Alamofire/Source/Alamofire.swift b/Example/Pods/Alamofire/Source/Alamofire.swift index cb4b36a..0945204 100644 --- a/Example/Pods/Alamofire/Source/Alamofire.swift +++ b/Example/Pods/Alamofire/Source/Alamofire.swift @@ -27,7 +27,7 @@ import Foundation // MARK: - URLStringConvertible /** - Types adopting the `URLStringConvertible` protocol can be used to construct URL strings, which are then used to + Types adopting the `URLStringConvertible` protocol can be used to construct URL strings, which are then used to construct URL requests. */ public protocol URLStringConvertible { @@ -44,27 +44,19 @@ public protocol URLStringConvertible { } extension String: URLStringConvertible { - public var URLString: String { - return self - } + public var URLString: String { return self } } extension NSURL: URLStringConvertible { - public var URLString: String { - return absoluteString - } + public var URLString: String { return absoluteString } } extension NSURLComponents: URLStringConvertible { - public var URLString: String { - return URL!.URLString - } + public var URLString: String { return URL!.URLString } } extension NSURLRequest: URLStringConvertible { - public var URLString: String { - return URL!.URLString - } + public var URLString: String { return URL!.URLString } } // MARK: - URLRequestConvertible @@ -78,9 +70,7 @@ public protocol URLRequestConvertible { } extension NSURLRequest: URLRequestConvertible { - public var URLRequest: NSMutableURLRequest { - return self.mutableCopy() as! NSMutableURLRequest - } + public var URLRequest: NSMutableURLRequest { return self.mutableCopy() as! NSMutableURLRequest } } // MARK: - Convenience @@ -91,7 +81,16 @@ func URLRequest( headers: [String: String]? = nil) -> NSMutableURLRequest { - let mutableURLRequest = NSMutableURLRequest(URL: NSURL(string: URLString.URLString)!) + let mutableURLRequest: NSMutableURLRequest + + if let request = URLString as? NSMutableURLRequest { + mutableURLRequest = request + } else if let request = URLString as? NSURLRequest { + mutableURLRequest = request.URLRequest + } else { + mutableURLRequest = NSMutableURLRequest(URL: NSURL(string: URLString.URLString)!) + } + mutableURLRequest.HTTPMethod = method.rawValue if let headers = headers { @@ -355,11 +354,11 @@ public func download(URLRequest: URLRequestConvertible, destination: Request.Dow // MARK: Resume Data /** - Creates a request using the shared manager instance for downloading from the resume data produced from a + Creates a request using the shared manager instance for downloading from the resume data produced from a previous request cancellation. - parameter resumeData: The resume data. This is an opaque data blob produced by `NSURLSessionDownloadTask` - when a task is cancelled. See `NSURLSession -downloadTaskWithResumeData:` for additional + when a task is cancelled. See `NSURLSession -downloadTaskWithResumeData:` for additional information. - parameter destination: The closure used to determine the destination of the downloaded file. diff --git a/Example/Pods/Alamofire/Source/Download.swift b/Example/Pods/Alamofire/Source/Download.swift index 97b146f..52e90ba 100644 --- a/Example/Pods/Alamofire/Source/Download.swift +++ b/Example/Pods/Alamofire/Source/Download.swift @@ -114,8 +114,8 @@ extension Manager { If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned. - - parameter resumeData: The resume data. This is an opaque data blob produced by `NSURLSessionDownloadTask` - when a task is cancelled. See `NSURLSession -downloadTaskWithResumeData:` for + - parameter resumeData: The resume data. This is an opaque data blob produced by `NSURLSessionDownloadTask` + when a task is cancelled. See `NSURLSession -downloadTaskWithResumeData:` for additional information. - parameter destination: The closure used to determine the destination of the downloaded file. @@ -130,14 +130,14 @@ extension Manager { extension Request { /** - A closure executed once a request has successfully completed in order to determine where to move the temporary - file written to during the download process. The closure takes two arguments: the temporary file URL and the URL + A closure executed once a request has successfully completed in order to determine where to move the temporary + file written to during the download process. The closure takes two arguments: the temporary file URL and the URL response, and returns a single argument: the file URL where the temporary file should be moved. */ public typealias DownloadFileDestination = (NSURL, NSHTTPURLResponse) -> NSURL /** - Creates a download file destination closure which uses the default file manager to move the temporary file to a + Creates a download file destination closure which uses the default file manager to move the temporary file to a file URL in the first available directory with the specified search path directory and search path domain mask. - parameter directory: The search path directory. `.DocumentDirectory` by default. @@ -220,7 +220,7 @@ extension Request { session, downloadTask, bytesWritten, - totalBytesWritten, + totalBytesWritten, totalBytesExpectedToWrite ) } else { diff --git a/Example/Pods/Alamofire/Source/Manager.swift b/Example/Pods/Alamofire/Source/Manager.swift index 7b5f888..cbfb5c7 100644 --- a/Example/Pods/Alamofire/Source/Manager.swift +++ b/Example/Pods/Alamofire/Source/Manager.swift @@ -32,7 +32,7 @@ public class Manager { // MARK: - Properties /** - A shared instance of `Manager`, used by top-level Alamofire request methods, and suitable for use directly + A shared instance of `Manager`, used by top-level Alamofire request methods, and suitable for use directly for any ad hoc requests. */ public static let sharedInstance: Manager = { @@ -60,15 +60,39 @@ public class Manager { if let info = NSBundle.mainBundle().infoDictionary { let executable = info[kCFBundleExecutableKey as String] as? String ?? "Unknown" let bundle = info[kCFBundleIdentifierKey as String] as? String ?? "Unknown" - let version = info[kCFBundleVersionKey as String] as? String ?? "Unknown" - let os = NSProcessInfo.processInfo().operatingSystemVersionString + let appVersion = info["CFBundleShortVersionString"] as? String ?? "Unknown" + let appBuild = info[kCFBundleVersionKey as String] as? String ?? "Unknown" - var mutableUserAgent = NSMutableString(string: "\(executable)/\(bundle) (\(version); OS \(os))") as CFMutableString - let transform = NSString(string: "Any-Latin; Latin-ASCII; [:^ASCII:] Remove") as CFString + let osNameVersion: String = { + let versionString: String - if CFStringTransform(mutableUserAgent, UnsafeMutablePointer(nil), transform, false) { - return mutableUserAgent as String - } + if #available(OSX 10.10, *) { + let version = NSProcessInfo.processInfo().operatingSystemVersion + versionString = "\(version.majorVersion).\(version.minorVersion).\(version.patchVersion)" + } else { + versionString = "10.9" + } + + let osName: String = { + #if os(iOS) + return "iOS" + #elseif os(watchOS) + return "watchOS" + #elseif os(tvOS) + return "tvOS" + #elseif os(OSX) + return "OS X" + #elseif os(Linux) + return "Linux" + #else + return "Unknown" + #endif + }() + + return "\(osName) \(versionString)" + }() + + return "\(executable)/\(bundle) (\(appVersion)/\(appBuild)); \(osNameVersion))" } return "Alamofire" @@ -93,14 +117,14 @@ public class Manager { public var startRequestsImmediately: Bool = true /** - The background completion handler closure provided by the UIApplicationDelegate - `application:handleEventsForBackgroundURLSession:completionHandler:` method. By setting the background - completion handler, the SessionDelegate `sessionDidFinishEventsForBackgroundURLSession` closure implementation + The background completion handler closure provided by the UIApplicationDelegate + `application:handleEventsForBackgroundURLSession:completionHandler:` method. By setting the background + completion handler, the SessionDelegate `sessionDidFinishEventsForBackgroundURLSession` closure implementation will automatically call the handler. - - If you need to handle your own events before the handler is called, then you need to override the + + If you need to handle your own events before the handler is called, then you need to override the SessionDelegate `sessionDidFinishEventsForBackgroundURLSession` and manually call the handler when finished. - + `nil` by default. */ public var backgroundCompletionHandler: (() -> Void)? @@ -110,11 +134,11 @@ public class Manager { /** Initializes the `Manager` instance with the specified configuration, delegate and server trust policy. - - parameter configuration: The configuration used to construct the managed session. + - parameter configuration: The configuration used to construct the managed session. `NSURLSessionConfiguration.defaultSessionConfiguration()` by default. - parameter delegate: The delegate used when initializing the session. `SessionDelegate()` by default. - - parameter serverTrustPolicyManager: The server trust policy manager to use for evaluating all server trust + - parameter serverTrustPolicyManager: The server trust policy manager to use for evaluating all server trust challenges. `nil` by default. - returns: The new `Manager` instance. @@ -338,14 +362,14 @@ public class Manager { /// Overrides default behavior for NSURLSessionTaskDelegate method `URLSession:task:didReceiveChallenge:completionHandler:`. public var taskDidReceiveChallenge: ((NSURLSession, NSURLSessionTask, NSURLAuthenticationChallenge) -> (NSURLSessionAuthChallengeDisposition, NSURLCredential?))? - /// Overrides all behavior for NSURLSessionTaskDelegate method `URLSession:task:didReceiveChallenge:completionHandler:` and + /// Overrides all behavior for NSURLSessionTaskDelegate method `URLSession:task:didReceiveChallenge:completionHandler:` and /// requires the caller to call the `completionHandler`. public var taskDidReceiveChallengeWithCompletion: ((NSURLSession, NSURLSessionTask, NSURLAuthenticationChallenge, (NSURLSessionAuthChallengeDisposition, NSURLCredential?) -> Void) -> Void)? /// Overrides default behavior for NSURLSessionTaskDelegate method `URLSession:session:task:needNewBodyStream:`. public var taskNeedNewBodyStream: ((NSURLSession, NSURLSessionTask) -> NSInputStream?)? - /// Overrides all behavior for NSURLSessionTaskDelegate method `URLSession:session:task:needNewBodyStream:` and + /// Overrides all behavior for NSURLSessionTaskDelegate method `URLSession:session:task:needNewBodyStream:` and /// requires the caller to call the `completionHandler`. public var taskNeedNewBodyStreamWithCompletion: ((NSURLSession, NSURLSessionTask, NSInputStream? -> Void) -> Void)? @@ -364,8 +388,8 @@ public class Manager { - parameter task: The task whose request resulted in a redirect. - parameter response: An object containing the server’s response to the original request. - parameter request: A URL request object filled out with the new location. - - parameter completionHandler: A closure that your handler should call with either the value of the request - parameter, a modified URL request object, or NULL to refuse the redirect and + - parameter completionHandler: A closure that your handler should call with either the value of the request + parameter, a modified URL request object, or NULL to refuse the redirect and return the body of the redirect response. */ public func URLSession( @@ -502,7 +526,7 @@ public class Manager { /// Overrides default behavior for NSURLSessionDataDelegate method `URLSession:dataTask:didReceiveResponse:completionHandler:`. public var dataTaskDidReceiveResponse: ((NSURLSession, NSURLSessionDataTask, NSURLResponse) -> NSURLSessionResponseDisposition)? - /// Overrides all behavior for NSURLSessionDataDelegate method `URLSession:dataTask:didReceiveResponse:completionHandler:` and + /// Overrides all behavior for NSURLSessionDataDelegate method `URLSession:dataTask:didReceiveResponse:completionHandler:` and /// requires caller to call the `completionHandler`. public var dataTaskDidReceiveResponseWithCompletion: ((NSURLSession, NSURLSessionDataTask, NSURLResponse, NSURLSessionResponseDisposition -> Void) -> Void)? @@ -515,7 +539,7 @@ public class Manager { /// Overrides default behavior for NSURLSessionDataDelegate method `URLSession:dataTask:willCacheResponse:completionHandler:`. public var dataTaskWillCacheResponse: ((NSURLSession, NSURLSessionDataTask, NSCachedURLResponse) -> NSCachedURLResponse?)? - /// Overrides all behavior for NSURLSessionDataDelegate method `URLSession:dataTask:willCacheResponse:completionHandler:` and + /// Overrides all behavior for NSURLSessionDataDelegate method `URLSession:dataTask:willCacheResponse:completionHandler:` and /// requires caller to call the `completionHandler`. public var dataTaskWillCacheResponseWithCompletion: ((NSURLSession, NSURLSessionDataTask, NSCachedURLResponse, NSCachedURLResponse? -> Void) -> Void)? @@ -527,8 +551,8 @@ public class Manager { - parameter session: The session containing the data task that received an initial reply. - parameter dataTask: The data task that received an initial reply. - parameter response: A URL response object populated with headers. - - parameter completionHandler: A completion handler that your code calls to continue the transfer, passing a - constant to indicate whether the transfer should continue as a data task or + - parameter completionHandler: A completion handler that your code calls to continue the transfer, passing a + constant to indicate whether the transfer should continue as a data task or should become a download task. */ public func URLSession( @@ -591,12 +615,12 @@ public class Manager { - parameter session: The session containing the data (or upload) task. - parameter dataTask: The data (or upload) task. - - parameter proposedResponse: The default caching behavior. This behavior is determined based on the current - caching policy and the values of certain received headers, such as the Pragma + - parameter proposedResponse: The default caching behavior. This behavior is determined based on the current + caching policy and the values of certain received headers, such as the Pragma and Cache-Control headers. - - parameter completionHandler: A block that your handler must call, providing either the original proposed - response, a modified version of that response, or NULL to prevent caching the - response. If your delegate implements this method, it must call this completion + - parameter completionHandler: A block that your handler must call, providing either the original proposed + response, a modified version of that response, or NULL to prevent caching the + response. If your delegate implements this method, it must call this completion handler; otherwise, your app leaks memory. */ public func URLSession( @@ -644,8 +668,8 @@ public class Manager { - parameter session: The session containing the download task that finished. - parameter downloadTask: The download task that finished. - - parameter location: A file URL for the temporary file. Because the file is temporary, you must either - open the file for reading or move it to a permanent location in your app’s sandbox + - parameter location: A file URL for the temporary file. Because the file is temporary, you must either + open the file for reading or move it to a permanent location in your app’s sandbox container directory before returning from this delegate method. */ public func URLSession( @@ -665,11 +689,11 @@ public class Manager { - parameter session: The session containing the download task. - parameter downloadTask: The download task. - - parameter bytesWritten: The number of bytes transferred since the last time this delegate + - parameter bytesWritten: The number of bytes transferred since the last time this delegate method was called. - parameter totalBytesWritten: The total number of bytes transferred so far. - - parameter totalBytesExpectedToWrite: The expected length of the file, as provided by the Content-Length - header. If this header was not provided, the value is + - parameter totalBytesExpectedToWrite: The expected length of the file, as provided by the Content-Length + header. If this header was not provided, the value is `NSURLSessionTransferSizeUnknown`. */ public func URLSession( @@ -697,11 +721,11 @@ public class Manager { - parameter session: The session containing the download task that finished. - parameter downloadTask: The download task that resumed. See explanation in the discussion. - - parameter fileOffset: If the file's cache policy or last modified date prevents reuse of the - existing content, then this value is zero. Otherwise, this value is an - integer representing the number of bytes on disk that do not need to be + - parameter fileOffset: If the file's cache policy or last modified date prevents reuse of the + existing content, then this value is zero. Otherwise, this value is an + integer representing the number of bytes on disk that do not need to be retrieved again. - - parameter expectedTotalBytes: The expected length of the file, as provided by the Content-Length header. + - parameter expectedTotalBytes: The expected length of the file, as provided by the Content-Length header. If this header was not provided, the value is NSURLSessionTransferSizeUnknown. */ public func URLSession( diff --git a/Example/Pods/Alamofire/Source/MultipartFormData.swift b/Example/Pods/Alamofire/Source/MultipartFormData.swift index b4087ec..5a7ef09 100644 --- a/Example/Pods/Alamofire/Source/MultipartFormData.swift +++ b/Example/Pods/Alamofire/Source/MultipartFormData.swift @@ -31,10 +31,10 @@ import CoreServices #endif /** - Constructs `multipart/form-data` for uploads within an HTTP or HTTPS body. There are currently two ways to encode - multipart form data. The first way is to encode the data directly in memory. This is very efficient, but can lead - to memory issues if the dataset is too large. The second way is designed for larger datasets and will write all the - data to a single file on disk with all the proper boundary segmentation. The second approach MUST be used for + Constructs `multipart/form-data` for uploads within an HTTP or HTTPS body. There are currently two ways to encode + multipart form data. The first way is to encode the data directly in memory. This is very efficient, but can lead + to memory issues if the dataset is too large. The second way is designed for larger datasets and will write all the + data to a single file on disk with all the proper boundary segmentation. The second approach MUST be used for larger datasets such as video content, otherwise your app may run out of memory when trying to encode the dataset. For more information on `multipart/form-data` in general, please refer to the RFC-2388 and RFC-2045 specs as well @@ -118,7 +118,7 @@ public class MultipartFormData { self.bodyParts = [] /** - * The optimal read/write buffer size in bytes for input and output streams is 1024 (1KB). For more + * The optimal read/write buffer size in bytes for input and output streams is 1024 (1KB). For more * information, please refer to the following article: * - https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/Streams/Articles/ReadingInputStreams.html */ @@ -367,8 +367,8 @@ public class MultipartFormData { /** Encodes all the appended body parts into a single `NSData` object. - It is important to note that this method will load all the appended body parts into memory all at the same - time. This method should only be used when the encoded data will have a small memory footprint. For large data + It is important to note that this method will load all the appended body parts into memory all at the same + time. This method should only be used when the encoded data will have a small memory footprint. For large data cases, please use the `writeEncodedDataToDisk(fileURL:completionHandler:)` method. - throws: An `NSError` if encoding encounters an error. diff --git a/Example/Pods/Alamofire/Source/NetworkReachabilityManager.swift b/Example/Pods/Alamofire/Source/NetworkReachabilityManager.swift index 949ed28..d5e00ae 100644 --- a/Example/Pods/Alamofire/Source/NetworkReachabilityManager.swift +++ b/Example/Pods/Alamofire/Source/NetworkReachabilityManager.swift @@ -61,7 +61,7 @@ public class NetworkReachabilityManager { case WWAN } - /// A closure executed when the network reachability status changes. The closure takes a single argument: the + /// A closure executed when the network reachability status changes. The closure takes a single argument: the /// network reachability status. public typealias Listener = NetworkReachabilityStatus -> Void @@ -116,32 +116,23 @@ public class NetworkReachabilityManager { } /** - Creates a `NetworkReachabilityManager` instance with the default socket IPv4 or IPv6 address. + Creates a `NetworkReachabilityManager` instance that monitors the address 0.0.0.0. + + Reachability treats the 0.0.0.0 address as a special token that causes it to monitor the general routing + status of the device, both IPv4 and IPv6. - returns: The new `NetworkReachabilityManager` instance. - */ + */ public convenience init?() { - if #available(iOS 9.0, OSX 10.10, *) { - var address = sockaddr_in6() - address.sin6_len = UInt8(sizeofValue(address)) - address.sin6_family = sa_family_t(AF_INET6) - - guard let reachability = withUnsafePointer(&address, { - SCNetworkReachabilityCreateWithAddress(nil, UnsafePointer($0)) - }) else { return nil } - - self.init(reachability: reachability) - } else { - var address = sockaddr_in() - address.sin_len = UInt8(sizeofValue(address)) - address.sin_family = sa_family_t(AF_INET) - - guard let reachability = withUnsafePointer(&address, { - SCNetworkReachabilityCreateWithAddress(nil, UnsafePointer($0)) - }) else { return nil } - - self.init(reachability: reachability) - } + var address = sockaddr_in() + address.sin_len = UInt8(sizeofValue(address)) + address.sin_family = sa_family_t(AF_INET) + + guard let reachability = withUnsafePointer(&address, { + SCNetworkReachabilityCreateWithAddress(nil, UnsafePointer($0)) + }) else { return nil } + + self.init(reachability: reachability) } private init(reachability: SCNetworkReachability) { diff --git a/Example/Pods/Alamofire/Source/Notifications.swift b/Example/Pods/Alamofire/Source/Notifications.swift index cece87a..a7dbcfe 100644 --- a/Example/Pods/Alamofire/Source/Notifications.swift +++ b/Example/Pods/Alamofire/Source/Notifications.swift @@ -32,7 +32,7 @@ public struct Notifications { /// `NSURLSessionTask`. public static let DidResume = "com.alamofire.notifications.task.didResume" - /// Notification posted when an `NSURLSessionTask` is suspended. The notification `object` contains the + /// Notification posted when an `NSURLSessionTask` is suspended. The notification `object` contains the /// suspended `NSURLSessionTask`. public static let DidSuspend = "com.alamofire.notifications.task.didSuspend" diff --git a/Example/Pods/Alamofire/Source/ParameterEncoding.swift b/Example/Pods/Alamofire/Source/ParameterEncoding.swift index bfa4d12..c54e58b 100644 --- a/Example/Pods/Alamofire/Source/ParameterEncoding.swift +++ b/Example/Pods/Alamofire/Source/ParameterEncoding.swift @@ -38,8 +38,8 @@ public enum Method: String { /** Used to specify the way in which a set of parameters are applied to a URL request. - - `URL`: Creates a query string to be set as or appended to any existing URL query for `GET`, `HEAD`, - and `DELETE` requests, or set as the body for requests with any other HTTP method. The + - `URL`: Creates a query string to be set as or appended to any existing URL query for `GET`, `HEAD`, + and `DELETE` requests, or set as the body for requests with any other HTTP method. The `Content-Type` HTTP header field of an encoded request with HTTP body is set to `application/x-www-form-urlencoded; charset=utf-8`. Since there is no published specification for how to encode collection types, the convention of appending `[]` to the key for array @@ -49,8 +49,8 @@ public enum Method: String { - `URLEncodedInURL`: Creates query string to be set as or appended to any existing URL query. Uses the same implementation as the `.URL` case, but always applies the encoded result to the URL. - - `JSON`: Uses `NSJSONSerialization` to create a JSON representation of the parameters object, which is - set as the body of the request. The `Content-Type` HTTP header field of an encoded request is + - `JSON`: Uses `NSJSONSerialization` to create a JSON representation of the parameters object, which is + set as the body of the request. The `Content-Type` HTTP header field of an encoded request is set to `application/json`. - `PropertyList`: Uses `NSPropertyListSerialization` to create a plist representation of the parameters object, @@ -74,7 +74,7 @@ public enum ParameterEncoding { - parameter URLRequest: The request to have parameters applied. - parameter parameters: The parameters to apply. - - returns: A tuple containing the constructed request and the error that occurred during parameter encoding, + - returns: A tuple containing the constructed request and the error that occurred during parameter encoding, if any. */ public func encode( @@ -229,7 +229,7 @@ public enum ParameterEncoding { //========================================================================================================== // // Batching is required for escaping due to an internal bug in iOS 8.1 and 8.2. Encoding more than a few - // hundred Chinense characters causes various malloc error crashes. To avoid this issue until iOS 8 is no + // hundred Chinese characters causes various malloc error crashes. To avoid this issue until iOS 8 is no // longer supported, batching MUST be used for encoding. This introduces roughly a 20% overhead. For more // info, please refer to: // diff --git a/Example/Pods/Alamofire/Source/Request.swift b/Example/Pods/Alamofire/Source/Request.swift index 817cca5..3a3f16f 100644 --- a/Example/Pods/Alamofire/Source/Request.swift +++ b/Example/Pods/Alamofire/Source/Request.swift @@ -25,7 +25,7 @@ import Foundation /** - Responsible for sending a request and receiving the response and associated data from the server, as well as + Responsible for sending a request and receiving the response and associated data from the server, as well as managing its underlying `NSURLSessionTask`. */ public class Request { @@ -126,12 +126,12 @@ public class Request { // MARK: - Progress /** - Sets a closure to be called periodically during the lifecycle of the request as data is written to or read + Sets a closure to be called periodically during the lifecycle of the request as data is written to or read from the server. - - For uploads, the progress closure returns the bytes written, total bytes written, and total bytes expected + - For uploads, the progress closure returns the bytes written, total bytes written, and total bytes expected to write. - - For downloads and data tasks, the progress closure returns the bytes read, total bytes read, and total bytes + - For downloads and data tasks, the progress closure returns the bytes read, total bytes read, and total bytes expected to read. - parameter closure: The code to be executed periodically during the lifecycle of the request. @@ -153,8 +153,8 @@ public class Request { /** Sets a closure to be called periodically during the lifecycle of the request as data is read from the server. - This closure returns the bytes most recently received from the server, not including data from previous calls. - If this closure is set, data will only be available within this closure, and will not be saved elsewhere. It is + This closure returns the bytes most recently received from the server, not including data from previous calls. + If this closure is set, data will only be available within this closure, and will not be saved elsewhere. It is also important to note that the `response` closure will be called with nil `responseData`. - parameter closure: The code to be executed periodically during the lifecycle of the request. @@ -210,7 +210,7 @@ public class Request { // MARK: - TaskDelegate /** - The task delegate is responsible for handling all delegate callbacks for the underlying task as well as + The task delegate is responsible for handling all delegate callbacks for the underlying task as well as executing all operations attached to the serial operation queue upon task completion. */ public class TaskDelegate: NSObject { @@ -458,7 +458,7 @@ public class Request { extension Request: CustomStringConvertible { /** - The textual representation used when written to an output stream, which includes the HTTP method and URL, as + The textual representation used when written to an output stream, which includes the HTTP method and URL, as well as the response status code if a response has been received. */ public var description: String { diff --git a/Example/Pods/Alamofire/Source/Response.swift b/Example/Pods/Alamofire/Source/Response.swift index dd700bb..9c437ff 100644 --- a/Example/Pods/Alamofire/Source/Response.swift +++ b/Example/Pods/Alamofire/Source/Response.swift @@ -44,7 +44,7 @@ public struct Response { /** Initializes the `Response` instance with the specified URL request, URL response, server data and response serialization result. - + - parameter request: The URL request sent to the server. - parameter response: The server's response to the URL request. - parameter data: The data returned by the server. diff --git a/Example/Pods/Alamofire/Source/ResponseSerialization.swift b/Example/Pods/Alamofire/Source/ResponseSerialization.swift index 5b7b61f..89e3954 100644 --- a/Example/Pods/Alamofire/Source/ResponseSerialization.swift +++ b/Example/Pods/Alamofire/Source/ResponseSerialization.swift @@ -101,7 +101,7 @@ extension Request { Adds a handler to be called once the request has finished. - parameter queue: The queue on which the completion handler is dispatched. - - parameter responseSerializer: The response serializer responsible for serializing the request, response, + - parameter responseSerializer: The response serializer responsible for serializing the request, response, and data. - parameter completionHandler: The code to be executed once the request has finished. @@ -192,10 +192,10 @@ extension Request { extension Request { /** - Creates a response serializer that returns a string initialized from the response data with the specified + Creates a response serializer that returns a string initialized from the response data with the specified string encoding. - - parameter encoding: The string encoding. If `nil`, the string encoding will be determined from the server + - parameter encoding: The string encoding. If `nil`, the string encoding will be determined from the server response, falling back to the default HTTP default character set, ISO-8859-1. - returns: A string response serializer. @@ -214,9 +214,9 @@ extension Request { let error = Error.error(code: .StringSerializationFailed, failureReason: failureReason) return .Failure(error) } - + var convertedEncoding = encoding - + if let encodingName = response?.textEncodingName where convertedEncoding == nil { convertedEncoding = CFStringConvertEncodingToNSStringEncoding( CFStringConvertIANACharSetNameToEncoding(encodingName) @@ -238,8 +238,8 @@ extension Request { /** Adds a handler to be called once the request has finished. - - parameter encoding: The string encoding. If `nil`, the string encoding will be determined from the - server response, falling back to the default HTTP default character set, + - parameter encoding: The string encoding. If `nil`, the string encoding will be determined from the + server response, falling back to the default HTTP default character set, ISO-8859-1. - parameter completionHandler: A closure to be executed once the request has finished. @@ -264,7 +264,7 @@ extension Request { extension Request { /** - Creates a response serializer that returns a JSON object constructed from the response data using + Creates a response serializer that returns a JSON object constructed from the response data using `NSJSONSerialization` with the specified reading options. - parameter options: The JSON serialization reading options. `.AllowFragments` by default. @@ -322,7 +322,7 @@ extension Request { extension Request { /** - Creates a response serializer that returns an object constructed from the response data using + Creates a response serializer that returns an object constructed from the response data using `NSPropertyListSerialization` with the specified reading options. - parameter options: The property list reading options. `NSPropertyListReadOptions()` by default. @@ -358,7 +358,7 @@ extension Request { - parameter options: The property list reading options. `0` by default. - parameter completionHandler: A closure to be executed once the request has finished. The closure takes 3 - arguments: the URL request, the URL response, the server data and the result + arguments: the URL request, the URL response, the server data and the result produced while creating the property list. - returns: The request. diff --git a/Example/Pods/Alamofire/Source/Result.swift b/Example/Pods/Alamofire/Source/Result.swift index ed1df0f..4aabf08 100644 --- a/Example/Pods/Alamofire/Source/Result.swift +++ b/Example/Pods/Alamofire/Source/Result.swift @@ -27,9 +27,9 @@ import Foundation /** Used to represent whether a request was successful or encountered an error. - - Success: The request and all post processing operations were successful resulting in the serialization of the + - Success: The request and all post processing operations were successful resulting in the serialization of the provided associated value. - - Failure: The request encountered an error resulting in a failure. The associated values are the original data + - Failure: The request encountered an error resulting in a failure. The associated values are the original data provided by the server as well as the error that caused the failure. */ public enum Result { @@ -75,7 +75,7 @@ public enum Result { // MARK: - CustomStringConvertible extension Result: CustomStringConvertible { - /// The textual representation used when written to an output stream, which includes whether the result was a + /// The textual representation used when written to an output stream, which includes whether the result was a /// success or failure. public var description: String { switch self { diff --git a/Example/Pods/Alamofire/Source/ServerTrustPolicy.swift b/Example/Pods/Alamofire/Source/ServerTrustPolicy.swift index 44ba100..7da516e 100644 --- a/Example/Pods/Alamofire/Source/ServerTrustPolicy.swift +++ b/Example/Pods/Alamofire/Source/ServerTrustPolicy.swift @@ -32,9 +32,9 @@ public class ServerTrustPolicyManager { /** Initializes the `ServerTrustPolicyManager` instance with the given policies. - Since different servers and web services can have different leaf certificates, intermediate and even root - certficates, it is important to have the flexibility to specify evaluation policies on a per host basis. This - allows for scenarios such as using default evaluation for host1, certificate pinning for host2, public key + Since different servers and web services can have different leaf certificates, intermediate and even root + certficates, it is important to have the flexibility to specify evaluation policies on a per host basis. This + allows for scenarios such as using default evaluation for host1, certificate pinning for host2, public key pinning for host3 and disabling evaluation for host4. - parameter policies: A dictionary of all policies mapped to a particular host. @@ -80,31 +80,31 @@ extension NSURLSession { // MARK: - ServerTrustPolicy /** - The `ServerTrustPolicy` evaluates the server trust generally provided by an `NSURLAuthenticationChallenge` when - connecting to a server over a secure HTTPS connection. The policy configuration then evaluates the server trust + The `ServerTrustPolicy` evaluates the server trust generally provided by an `NSURLAuthenticationChallenge` when + connecting to a server over a secure HTTPS connection. The policy configuration then evaluates the server trust with a given set of criteria to determine whether the server trust is valid and the connection should be made. - Using pinned certificates or public keys for evaluation helps prevent man-in-the-middle (MITM) attacks and other - vulnerabilities. Applications dealing with sensitive customer data or financial information are strongly encouraged + Using pinned certificates or public keys for evaluation helps prevent man-in-the-middle (MITM) attacks and other + vulnerabilities. Applications dealing with sensitive customer data or financial information are strongly encouraged to route all communication over an HTTPS connection with pinning enabled. - - PerformDefaultEvaluation: Uses the default server trust evaluation while allowing you to control whether to - validate the host provided by the challenge. Applications are encouraged to always - validate the host in production environments to guarantee the validity of the server's + - PerformDefaultEvaluation: Uses the default server trust evaluation while allowing you to control whether to + validate the host provided by the challenge. Applications are encouraged to always + validate the host in production environments to guarantee the validity of the server's certificate chain. - PinCertificates: Uses the pinned certificates to validate the server trust. The server trust is - considered valid if one of the pinned certificates match one of the server certificates. - By validating both the certificate chain and host, certificate pinning provides a very - secure form of server trust validation mitigating most, if not all, MITM attacks. - Applications are encouraged to always validate the host and require a valid certificate + considered valid if one of the pinned certificates match one of the server certificates. + By validating both the certificate chain and host, certificate pinning provides a very + secure form of server trust validation mitigating most, if not all, MITM attacks. + Applications are encouraged to always validate the host and require a valid certificate chain in production environments. - PinPublicKeys: Uses the pinned public keys to validate the server trust. The server trust is considered - valid if one of the pinned public keys match one of the server certificate public keys. - By validating both the certificate chain and host, public key pinning provides a very - secure form of server trust validation mitigating most, if not all, MITM attacks. - Applications are encouraged to always validate the host and require a valid certificate + valid if one of the pinned public keys match one of the server certificate public keys. + By validating both the certificate chain and host, public key pinning provides a very + secure form of server trust validation mitigating most, if not all, MITM attacks. + Applications are encouraged to always validate the host and require a valid certificate chain in production environments. - DisableEvaluation: Disables all evaluation which in turn will always consider any server trust as valid. diff --git a/Example/Pods/Alamofire/Source/Stream.swift b/Example/Pods/Alamofire/Source/Stream.swift index 07ebe33..e463d9b 100644 --- a/Example/Pods/Alamofire/Source/Stream.swift +++ b/Example/Pods/Alamofire/Source/Stream.swift @@ -64,7 +64,7 @@ extension Manager { - parameter hostName: The hostname of the server to connect to. - parameter port: The port of the server to connect to. - :returns: The created stream request. + - returns: The created stream request. */ public func stream(hostName hostName: String, port: Int) -> Request { return stream(.Stream(hostName, port)) diff --git a/Example/Pods/Alamofire/Source/Timeline.swift b/Example/Pods/Alamofire/Source/Timeline.swift index 3610f15..f347705 100644 --- a/Example/Pods/Alamofire/Source/Timeline.swift +++ b/Example/Pods/Alamofire/Source/Timeline.swift @@ -54,10 +54,10 @@ public struct Timeline { Creates a new `Timeline` instance with the specified request times. - parameter requestStartTime: The time the request was initialized. Defaults to `0.0`. - - parameter initialResponseTime: The time the first bytes were received from or sent to the server. + - parameter initialResponseTime: The time the first bytes were received from or sent to the server. Defaults to `0.0`. - parameter requestCompletedTime: The time when the request was completed. Defaults to `0.0`. - - parameter serializationCompletedTime: The time when the response serialization was completed. Defaults + - parameter serializationCompletedTime: The time when the response serialization was completed. Defaults to `0.0`. - returns: The new `Timeline` instance. @@ -83,7 +83,7 @@ public struct Timeline { // MARK: - CustomStringConvertible extension Timeline: CustomStringConvertible { - /// The textual representation used when written to an output stream, which includes the latency, the request + /// The textual representation used when written to an output stream, which includes the latency, the request /// duration and the total duration. public var description: String { let latency = String(format: "%.3f", self.latency) @@ -91,35 +91,48 @@ extension Timeline: CustomStringConvertible { let serializationDuration = String(format: "%.3f", self.serializationDuration) let totalDuration = String(format: "%.3f", self.totalDuration) + // NOTE: Had to move to string concatenation due to memory leak filed as rdar://26761490. Once memory leak is + // fixed, we should move back to string interpolation by reverting commit 7d4a43b1. let timings = [ - "\"Latency\": \(latency) secs", - "\"Request Duration\": \(requestDuration) secs", - "\"Serialization Duration\": \(serializationDuration) secs", - "\"Total Duration\": \(totalDuration) secs" + "\"Latency\": " + latency + " secs", + "\"Request Duration\": " + requestDuration + " secs", + "\"Serialization Duration\": " + serializationDuration + " secs", + "\"Total Duration\": " + totalDuration + " secs" ] - return "Timeline: { \(timings.joinWithSeparator(", ")) }" + return "Timeline: { " + timings.joinWithSeparator(", ") + " }" } } // MARK: - CustomDebugStringConvertible extension Timeline: CustomDebugStringConvertible { - /// The textual representation used when written to an output stream, which includes the request start time, the + /// The textual representation used when written to an output stream, which includes the request start time, the /// initial response time, the request completed time, the serialization completed time, the latency, the request /// duration and the total duration. public var debugDescription: String { + let requestStartTime = String(format: "%.3f", self.requestStartTime) + let initialResponseTime = String(format: "%.3f", self.initialResponseTime) + let requestCompletedTime = String(format: "%.3f", self.requestCompletedTime) + let serializationCompletedTime = String(format: "%.3f", self.serializationCompletedTime) + let latency = String(format: "%.3f", self.latency) + let requestDuration = String(format: "%.3f", self.requestDuration) + let serializationDuration = String(format: "%.3f", self.serializationDuration) + let totalDuration = String(format: "%.3f", self.totalDuration) + + // NOTE: Had to move to string concatenation due to memory leak filed as rdar://26761490. Once memory leak is + // fixed, we should move back to string interpolation by reverting commit 7d4a43b1. let timings = [ - "\"Request Start Time\": \(requestStartTime)", - "\"Initial Response Time\": \(initialResponseTime)", - "\"Request Completed Time\": \(requestCompletedTime)", - "\"Serialization Completed Time\": \(serializationCompletedTime)", - "\"Latency\": \(latency) secs", - "\"Request Duration\": \(requestDuration) secs", - "\"Serialization Duration\": \(serializationDuration) secs", - "\"Total Duration\": \(totalDuration) secs" + "\"Request Start Time\": " + requestStartTime, + "\"Initial Response Time\": " + initialResponseTime, + "\"Request Completed Time\": " + requestCompletedTime, + "\"Serialization Completed Time\": " + serializationCompletedTime, + "\"Latency\": " + latency + " secs", + "\"Request Duration\": " + requestDuration + " secs", + "\"Serialization Duration\": " + serializationDuration + " secs", + "\"Total Duration\": " + totalDuration + " secs" ] - return "Timeline: { \(timings.joinWithSeparator(", ")) }" + return "Timeline: { " + timings.joinWithSeparator(", ") + " }" } } diff --git a/Example/Pods/Alamofire/Source/Upload.swift b/Example/Pods/Alamofire/Source/Upload.swift index 7b31ba5..21971e6 100644 --- a/Example/Pods/Alamofire/Source/Upload.swift +++ b/Example/Pods/Alamofire/Source/Upload.swift @@ -194,12 +194,12 @@ extension Manager { public static let MultipartFormDataEncodingMemoryThreshold: UInt64 = 10 * 1024 * 1024 /** - Defines whether the `MultipartFormData` encoding was successful and contains result of the encoding as + Defines whether the `MultipartFormData` encoding was successful and contains result of the encoding as associated values. - - Success: Represents a successful `MultipartFormData` encoding and contains the new `Request` along with + - Success: Represents a successful `MultipartFormData` encoding and contains the new `Request` along with streaming information. - - Failure: Used to represent a failure in the `MultipartFormData` encoding and also contains the encoding + - Failure: Used to represent a failure in the `MultipartFormData` encoding and also contains the encoding error. */ public enum MultipartFormDataEncodingResult { @@ -210,17 +210,17 @@ extension Manager { /** Encodes the `MultipartFormData` and creates a request to upload the result to the specified URL request. - It is important to understand the memory implications of uploading `MultipartFormData`. If the cummulative - payload is small, encoding the data in-memory and directly uploading to a server is the by far the most - efficient approach. However, if the payload is too large, encoding the data in-memory could cause your app to - be terminated. Larger payloads must first be written to disk using input and output streams to keep the memory - footprint low, then the data can be uploaded as a stream from the resulting file. Streaming from disk MUST be + It is important to understand the memory implications of uploading `MultipartFormData`. If the cummulative + payload is small, encoding the data in-memory and directly uploading to a server is the by far the most + efficient approach. However, if the payload is too large, encoding the data in-memory could cause your app to + be terminated. Larger payloads must first be written to disk using input and output streams to keep the memory + footprint low, then the data can be uploaded as a stream from the resulting file. Streaming from disk MUST be used for larger payloads such as video content. - The `encodingMemoryThreshold` parameter allows Alamofire to automatically determine whether to encode in-memory + The `encodingMemoryThreshold` parameter allows Alamofire to automatically determine whether to encode in-memory or stream from disk. If the content length of the `MultipartFormData` is below the `encodingMemoryThreshold`, - encoding takes place in-memory. If the content length exceeds the threshold, the data is streamed to disk - during the encoding process. Then the result is uploaded as data or as a stream depending on which encoding + encoding takes place in-memory. If the content length exceeds the threshold, the data is streamed to disk + during the encoding process. Then the result is uploaded as data or as a stream depending on which encoding technique was used. If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned. diff --git a/Example/Pods/Alamofire/Source/Validation.swift b/Example/Pods/Alamofire/Source/Validation.swift index e90db2d..b94e07d 100644 --- a/Example/Pods/Alamofire/Source/Validation.swift +++ b/Example/Pods/Alamofire/Source/Validation.swift @@ -38,7 +38,7 @@ extension Request { } /** - A closure used to validate a request that takes a URL request and URL response, and returns whether the + A closure used to validate a request that takes a URL request and URL response, and returns whether the request was valid. */ public typealias Validation = (NSURLRequest?, NSHTTPURLResponse) -> ValidationResult @@ -140,7 +140,7 @@ extension Request { - returns: The request. */ - public func validate(contentType acceptableContentTypes: S) -> Self { + public func validate(contentType acceptableContentTypes: S) -> Self { return validate { _, response in guard let validData = self.delegate.data where validData.length > 0 else { return .Success } @@ -192,7 +192,7 @@ extension Request { // MARK: - Automatic /** - Validates that the response has a status code in the default acceptable range of 200...299, and that the content + Validates that the response has a status code in the default acceptable range of 200...299, and that the content type matches any specified in the Accept HTTP header field. If validation fails, subsequent calls to response handlers will have an associated error. diff --git a/Example/Pods/AlamofireImage/README.md b/Example/Pods/AlamofireImage/README.md index 9fce143..74dc95b 100644 --- a/Example/Pods/AlamofireImage/README.md +++ b/Example/Pods/AlamofireImage/README.md @@ -32,7 +32,7 @@ AlamofireImage is an image component library for Alamofire. ## Dependencies -- [Alamofire 3.2+](https://github.com/Alamofire/Alamofire) +- [Alamofire 3.3+](https://github.com/Alamofire/Alamofire) ## Communication @@ -535,6 +535,20 @@ Alamofire is owned and maintained by the [Alamofire Software Foundation](http:// If you believe you have identified a security vulnerability with AlamofireImage, you should report it as soon as possible via email to security@alamofire.org. Please do not post it to a public issue tracker. +## Donations + +The [ASF](https://github.com/Alamofire/Foundation#members) is looking to raise money to officially register as a federal non-profit organization. Registering will allow us members to gain some legal protections and also allow us to put donations to use, tax free. Donating to the ASF will enable us to: + +* Pay our legal fees to register as a federal non-profit organization +* Pay our yearly legal fees to keep the non-profit in good status +* Pay for our mail servers to help us stay on top of all questions and security issues +* Potentially fund test servers to make it easier for us to test the edge cases +* Potentially fund developers to work on one of our projects full-time + +The community adoption of the ASF libraries has been amazing. We are greatly humbled by your enthusiam around the projects, and want to continue to do everything we can to move the needle forward. With your continued support, the ASF will be able to improve its reach and also provide better legal safety for the core members. If you use any of our libraries for work, see if your employers would be interested in donating. Our initial goal is to raise $1000 to get all our legal ducks in a row and kickstart this campaign. Any amount you can donate today to help us reach our goal would be greatly appreciated. + +Click here to lend your support to: Alamofire Software Foundation and make a donation at pledgie.com ! + ## License AlamofireImage is released under the MIT license. See LICENSE for details. diff --git a/Example/Pods/AlamofireImage/Source/ImageCache.swift b/Example/Pods/AlamofireImage/Source/ImageCache.swift index 38f9932..87add20 100644 --- a/Example/Pods/AlamofireImage/Source/ImageCache.swift +++ b/Example/Pods/AlamofireImage/Source/ImageCache.swift @@ -145,7 +145,7 @@ public class AutoPurgingImageCache: ImageRequestCache { self.currentMemoryUsage = 0 self.synchronizationQueue = { - let name = String(format: "com.alamofire.autopurgingimagecache-%08%08", arc4random(), arc4random()) + let name = String(format: "com.alamofire.autopurgingimagecache-%08x%08x", arc4random(), arc4random()) return dispatch_queue_create(name, DISPATCH_QUEUE_CONCURRENT) }() diff --git a/Example/Pods/AlamofireImage/Source/ImageDownloader.swift b/Example/Pods/AlamofireImage/Source/ImageDownloader.swift index 78ba818..649c206 100644 --- a/Example/Pods/AlamofireImage/Source/ImageDownloader.swift +++ b/Example/Pods/AlamofireImage/Source/ImageDownloader.swift @@ -100,12 +100,12 @@ public class ImageDownloader { var responseHandlers: [String: ResponseHandler] = [:] private let synchronizationQueue: dispatch_queue_t = { - let name = String(format: "com.alamofire.imagedownloader.synchronizationqueue-%08%08", arc4random(), arc4random()) + let name = String(format: "com.alamofire.imagedownloader.synchronizationqueue-%08x%08x", arc4random(), arc4random()) return dispatch_queue_create(name, DISPATCH_QUEUE_SERIAL) }() private let responseQueue: dispatch_queue_t = { - let name = String(format: "com.alamofire.imagedownloader.responsequeue-%08%08", arc4random(), arc4random()) + let name = String(format: "com.alamofire.imagedownloader.responsequeue-%08x%08x", arc4random(), arc4random()) return dispatch_queue_create(name, DISPATCH_QUEUE_CONCURRENT) }() diff --git a/Example/Pods/AlamofireImage/Source/Request+AlamofireImage.swift b/Example/Pods/AlamofireImage/Source/Request+AlamofireImage.swift index d8516af..474983f 100644 --- a/Example/Pods/AlamofireImage/Source/Request+AlamofireImage.swift +++ b/Example/Pods/AlamofireImage/Source/Request+AlamofireImage.swift @@ -226,11 +226,15 @@ extension Request { private class func contentTypeValidationError() -> NSError { let failureReason = "Failed to validate response due to unacceptable content type" - return Error.errorWithCode(NSURLErrorCannotDecodeContentData, failureReason: failureReason) + let userInfo = [NSLocalizedFailureReasonErrorKey: failureReason] + + return NSError(domain: NSURLErrorDomain, code: NSURLErrorCannotDecodeContentData, userInfo: userInfo) } private class func imageDataError() -> NSError { let failureReason = "Failed to create a valid Image from the response data" - return Error.errorWithCode(NSURLErrorCannotDecodeContentData, failureReason: failureReason) + let userInfo = [NSLocalizedFailureReasonErrorKey: failureReason] + + return NSError(domain: NSURLErrorDomain, code: NSURLErrorCannotDecodeRawData, userInfo: userInfo) } } diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock index 76bb5f0..274d8cf 100644 --- a/Example/Pods/Manifest.lock +++ b/Example/Pods/Manifest.lock @@ -1,6 +1,6 @@ PODS: - - Alamofire (3.4.0) - - AlamofireImage (2.4.0): + - Alamofire (3.4.2) + - AlamofireImage (2.4.1): - Alamofire (~> 3.3) - WistiaKit (0.9.2): - Alamofire (~> 3.3) @@ -14,8 +14,8 @@ EXTERNAL SOURCES: :path: "../" SPEC CHECKSUMS: - Alamofire: c19a627cefd6a95f840401c49ab1f124e07f54ee - AlamofireImage: 87408b652e0f5ae5fe364035f15aea8b9b24c77e + Alamofire: 6aa33201d20d069e1598891cf928883ff1888c7a + AlamofireImage: 3ccf3347d9ea24580dc11fb892770a0be6a29826 WistiaKit: 8e6e2dc5d9b19c8def82625d760a59c53a5e8705 PODFILE CHECKSUM: 39f4e05824aa046cc4e791747aa25b4d2ab920db diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj index d366dd5..4bf006c 100644 --- a/Example/Pods/Pods.xcodeproj/project.pbxproj +++ b/Example/Pods/Pods.xcodeproj/project.pbxproj @@ -9,73 +9,73 @@ /* Begin PBXBuildFile section */ 0225BB2868831C7F57DF0057B6484900 /* AdSupport.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E62C64642925AB080E3E1391EFD2C179 /* AdSupport.framework */; }; 06C256627A96A2A814E6BDC6FB104A4B /* AVKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5EE395757CDFC797405D056EA15FE55B /* AVKit.framework */; }; - 06E5D2039C1822002A46AAB457CB0D2A /* WistiaMediaEventCollector.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A841068042CC455742126154A3B99F6 /* WistiaMediaEventCollector.swift */; }; + 06E5D2039C1822002A46AAB457CB0D2A /* WistiaMediaEventCollector.swift in Sources */ = {isa = PBXBuildFile; fileRef = 72E11721209B16B6D93C44E44F8B6BF1 /* WistiaMediaEventCollector.swift */; }; 095406039B4D371E48D08B38A2975AC8 /* Error.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4725213121FEC12F519BF19475C52042 /* Error.swift */; }; 11D1C30F956A0B9D5010E9E164975DF8 /* Image.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9BEF004F964BB7DABD23CD37E5CA978D /* Image.swift */; }; 16102E4E35FAA0FC4161282FECE56469 /* Timeline.swift in Sources */ = {isa = PBXBuildFile; fileRef = AEBBE1DBE80C8043D1AACFF35388DE8C /* Timeline.swift */; }; 173F1D294E3BA40503404C15F6699D7D /* Alamofire.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9833A6F2889EEA6E2A252E753E167DB7 /* Alamofire.framework */; }; - 1D3D2817A9DFD32E003B6EBFD52348F0 /* WistiaPlayerViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4FECFF69ADEAB2BD4A2A349E6121B31E /* WistiaPlayerViewController.swift */; }; - 1F0CF85AEE3FE79C2C603F208E01CDC3 /* UINavigationControllerExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = F6738CC5F70176049CD0EC7CA9FAFEF7 /* UINavigationControllerExtensions.swift */; }; - 2B495A6388584064D8129503A38380B7 /* Wistia360PlayerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75E9E211A349E5F343355C4FE5F96030 /* Wistia360PlayerView.swift */; }; - 2C6ADF931212ECA7830886DCF007BA25 /* WistiaPlayer_internal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 96E0AC81E0719A6250B3E917F5A1DC50 /* WistiaPlayer_internal.swift */; }; + 1D3D2817A9DFD32E003B6EBFD52348F0 /* WistiaPlayerViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F7C354998984F5AD25E11565535E460 /* WistiaPlayerViewController.swift */; }; + 1F0CF85AEE3FE79C2C603F208E01CDC3 /* UINavigationControllerExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = A8A190E9B8E4AB87C8A2770193A03944 /* UINavigationControllerExtensions.swift */; }; + 2B495A6388584064D8129503A38380B7 /* Wistia360PlayerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 85DFBC61D919C5874C31852D13DE1EE3 /* Wistia360PlayerView.swift */; }; + 2C6ADF931212ECA7830886DCF007BA25 /* WistiaPlayer_internal.swift in Sources */ = {isa = PBXBuildFile; fileRef = A93B6BC9124D11AF6DBA1190B52647A2 /* WistiaPlayer_internal.swift */; }; 2D3405986FC586FA6C0A5E0B6BA7E64E /* Validation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 000FE400CCE7F9E913DA8C8C46677610 /* Validation.swift */; }; - 2E3609475CE07FE2EA818D4D65B94927 /* WistiaAPI_internal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92A08758282F466A36C0C08161D81057 /* WistiaAPI_internal.swift */; }; + 2E3609475CE07FE2EA818D4D65B94927 /* WistiaAPI_internal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 44CD91C277BF175A64062B82939D356D /* WistiaAPI_internal.swift */; }; 34CCDCA848A701466256BC2927DA8856 /* NetworkReachabilityManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = F12F90872EA732E2762D108D5F0D0CA9 /* NetworkReachabilityManager.swift */; }; 3E201DAA26772146376918572B73502A /* AlamofireImage.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7A55AF822A1D049EB8FC54B82E51B5B5 /* AlamofireImage.framework */; }; 3EA37E67C1BD7A8C3A6FE455A445DE21 /* WistiaKitAssetCatalog.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = DA3C52D55190993C0E7ACAD2BB188CDA /* WistiaKitAssetCatalog.xcassets */; }; 3EA8F215C9C1432D74E5CCA4834AA8C0 /* ResponseSerialization.swift in Sources */ = {isa = PBXBuildFile; fileRef = 207B6A1EED33AB5585A574103334B8CD /* ResponseSerialization.swift */; }; 3FBA01F04B8DD5DE765957F40C752B59 /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3291230C4FFBED4021914428C63AD3C7 /* AVFoundation.framework */; }; 4081EA628AF0B73AC51FFB9D7AB3B89E /* Manager.swift in Sources */ = {isa = PBXBuildFile; fileRef = C353EF8CECF13CB746532E7CCF3D354C /* Manager.swift */; }; - 4398EA6AAA4CF01B0E908DC2D2203469 /* SCNVector3Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8EB36E1485E2F88E6E7AB12935E0EBCF /* SCNVector3Extensions.swift */; }; + 4398EA6AAA4CF01B0E908DC2D2203469 /* SCNVector3Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = BC61F798327319E96C6FB32BBE882D8B /* SCNVector3Extensions.swift */; }; 44D0FF87F8A99E3D32047169E247A8DC /* UIImage+AlamofireImage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 36BEE7460BDCDB9D08B36B345F8E297F /* UIImage+AlamofireImage.swift */; }; 483847789FF2B9D24CC6EF897ABF12FD /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DA19C340E23F63D20A46573C707C3414 /* Foundation.framework */; }; - 4BD35DDBED6ECCB01A54E16FABB975B4 /* CaptionsLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1D454E2430A989033896253F78F72E6B /* CaptionsLabel.swift */; }; + 4BD35DDBED6ECCB01A54E16FABB975B4 /* CaptionsLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3E8B00A66314960670D126319B61A53 /* CaptionsLabel.swift */; }; 4C8EC0D7CFD43C54BA66AAAB8E2424AC /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1E3B19DD6781BCC059E5EFCEDA925A14 /* UIKit.framework */; }; 51C7B03FC104B84744C83B8F4787279D /* ImageCache.swift in Sources */ = {isa = PBXBuildFile; fileRef = BD13F9498961CBAA32075869F79A1CEF /* ImageCache.swift */; }; 5BC19E6E0F199276003F0AF96838BCE5 /* Upload.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2EFDE69441C3DCB515C7CD4545124C6F /* Upload.swift */; }; 5CB05FBCB32D21E194B5ECF680CB6AE0 /* Download.swift in Sources */ = {isa = PBXBuildFile; fileRef = E552F0515070FE3ADD1C30FAF7AE5CB1 /* Download.swift */; }; - 6086B10A8DE63283B3215945F2962CF2 /* WistiaMediaStats.swift in Sources */ = {isa = PBXBuildFile; fileRef = 18DCC387E990F21D0C033C16452E55A2 /* WistiaMediaStats.swift */; }; + 6086B10A8DE63283B3215945F2962CF2 /* WistiaMediaStats.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A15906CE5591D94896B2BDE8B52D69F /* WistiaMediaStats.swift */; }; 6114BDF9B03567B9E788F2C7FC26D55D /* Pods-WistiaKit_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 43BA3067FB4C1D9ABB79D440E6AE35FC /* Pods-WistiaKit_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 62E8346F03C03E7F4D631361F325689E /* Response.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDACAD1D8B293EDE9515FA531593649A /* Response.swift */; }; 659154EFAB24807AEC847F09F54F3961 /* SpriteKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0675D841D8C298DC32B04D1565222FBA /* SpriteKit.framework */; }; 66E9E6FE8E117D8603C88951B569C866 /* Request+AlamofireImage.swift in Sources */ = {isa = PBXBuildFile; fileRef = DAB21497F843DA83273C5AAA8ADAA81A /* Request+AlamofireImage.swift */; }; - 6E3A8CFB8FFE44AF2B01B17729961F1D /* WistiaCaptionsRenderer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6941EF2F7A3C10F3C3A140EF6F0CADEE /* WistiaCaptionsRenderer.swift */; }; + 6E3A8CFB8FFE44AF2B01B17729961F1D /* WistiaCaptionsRenderer.swift in Sources */ = {isa = PBXBuildFile; fileRef = A6B7FDBC77DE6B367376CE1FC75721F4 /* WistiaCaptionsRenderer.swift */; }; 78C81844E7B8B2EEA16321296D8D3497 /* AlamofireImage-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = BB22AE5939252512ED61EC60C35A96F9 /* AlamofireImage-dummy.m */; }; 7B48852C4D848FA2DA416A98F6425869 /* ServerTrustPolicy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 15336EBB4828410FB080381877C1CBB9 /* ServerTrustPolicy.swift */; }; - 7C0C216570764A7C013DB4AB6DDC7E33 /* WistiaStatsManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 78C2850447B052B0749E8C16AF22C8CC /* WistiaStatsManager.swift */; }; - 7FEF8BF5FE93448466C55E0509550321 /* ModelBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 571684A8AEE0D1C07DC07E315FFFFD04 /* ModelBuilder.swift */; }; + 7C0C216570764A7C013DB4AB6DDC7E33 /* WistiaStatsManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = AEF2F2632DC9B3EA3C3BFD867C21DD31 /* WistiaStatsManager.swift */; }; + 7FEF8BF5FE93448466C55E0509550321 /* ModelBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8571B3A7BEF0D148A7B2FECA294D28C /* ModelBuilder.swift */; }; 80CAA5CE880541B781DFC0A305FB8B01 /* ImageFilter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 417B248840CF4160944B057C5A58E185 /* ImageFilter.swift */; }; - 825FC655E8733C9E78FF791F206BAC02 /* WistiaPlayerViewController_internal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 55651B28CA40EFB9C7F588D0698EBD8B /* WistiaPlayerViewController_internal.swift */; }; + 825FC655E8733C9E78FF791F206BAC02 /* WistiaPlayerViewController_internal.swift in Sources */ = {isa = PBXBuildFile; fileRef = D0339774A1A8289B490E8EF99301100F /* WistiaPlayerViewController_internal.swift */; }; 828B3E5CC7BA6589282F69348E077D22 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DA19C340E23F63D20A46573C707C3414 /* Foundation.framework */; }; - 85C922022B2A78305398051B1F15742B /* WistiaMediaEmbedOptions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7FD4987B7BBDD3BB6E2B863631A3AC1F /* WistiaMediaEmbedOptions.swift */; }; - 88DAC5F0F55CBED25CC0904923A5E1C5 /* UIColorExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4FFB86C0B8A49C9FF33ED99B62FC977C /* UIColorExtensions.swift */; }; + 85C922022B2A78305398051B1F15742B /* WistiaMediaEmbedOptions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 91F986CE0FEA373539BA8E4832F2328D /* WistiaMediaEmbedOptions.swift */; }; + 88DAC5F0F55CBED25CC0904923A5E1C5 /* UIColorExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = B0CCD86682E1CE7D0376406C7A4B263B /* UIColorExtensions.swift */; }; 8EB11202167FCDDF1257AAAB1D1FB244 /* Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = D402C965854A55E24EDC621B87371CA4 /* Alamofire.swift */; }; 91C09AC2A52ED69A27C8D923139A006F /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DA19C340E23F63D20A46573C707C3414 /* Foundation.framework */; }; 91F023CB33CC22BA4CC841AE468163A9 /* AlamofireImage-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 3DD1266FABDB60FB77700D23188219C0 /* AlamofireImage-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 9212E43DBFBC4CE48886D8067B810219 /* WistiaCaptions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3DAF722C6A532A503CA0B34B5EB6CDEB /* WistiaCaptions.swift */; }; + 9212E43DBFBC4CE48886D8067B810219 /* WistiaCaptions.swift in Sources */ = {isa = PBXBuildFile; fileRef = D0C80FB403208B92F006C0D4B661A037 /* WistiaCaptions.swift */; }; 9469DF81ECB494E84675969B5E13374C /* Alamofire-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = A9159A8F978A7E38B31D2FB9C38A59AE /* Alamofire-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A72E4D0F268B56E0989A38BBC707932E /* WistiaAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 03E713F35FBDB2332E3EDFB3560E1E93 /* WistiaAPI.swift */; }; - A88AF498AE5CD38067D2E0BD418029F3 /* WistiaAccount.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8648E57E89959FEDAAF4E1B1ED76C9F8 /* WistiaAccount.swift */; }; + A72E4D0F268B56E0989A38BBC707932E /* WistiaAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 694CB40E35704B7BC11DC58A52EC9B08 /* WistiaAPI.swift */; }; + A88AF498AE5CD38067D2E0BD418029F3 /* WistiaAccount.swift in Sources */ = {isa = PBXBuildFile; fileRef = 733BEEEF8E6B88CE22EAAC6FBD916B7F /* WistiaAccount.swift */; }; AA314156AC500125F4078EE968DB14C6 /* Result.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8FA12CFBEFA8665E06FDC738B3A99B7C /* Result.swift */; }; - AB7478EC23D8FBB8047B503C3B3C7D04 /* WistiaPlayer.swift in Sources */ = {isa = PBXBuildFile; fileRef = ACD62E094787549052155AB8DAC80843 /* WistiaPlayer.swift */; }; + AB7478EC23D8FBB8047B503C3B3C7D04 /* WistiaPlayer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3CEA89C168BF954E204C2A5D8B5773FE /* WistiaPlayer.swift */; }; ADF19C953CE2A7D0B72EC93A81FCCC26 /* Alamofire-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 1F1A575D9E4EE4D989CA93A184B09FF1 /* Alamofire-dummy.m */; }; AE4CF87C02C042DF13ED5B21C4FDC1E0 /* Stream.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D61970B6BFA1B5006B0A5CEBB4EED0F /* Stream.swift */; }; AFB62E073F1070F28D0F0E966EC44E50 /* UIImageView+AlamofireImage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2E5476B5FCAC222E57B10369808678FC /* UIImageView+AlamofireImage.swift */; }; B2F921BA8A6F66F35C8A2B77B8DF5B48 /* ImageDownloader.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0364FE690EBE64B8F544F945ED7F212 /* ImageDownloader.swift */; }; B3B5C9E288F3CB23AE7698C3EAABA83E /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E482138DF80371192085A2EFB90EB64B /* CoreMotion.framework */; }; B4310F8E4E0BF51A4C823F2BE1821E73 /* WistiaKit-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 065B9F5459D4B1D85130851F3B8865A2 /* WistiaKit-dummy.m */; }; - B94C9F1F788D71A4BE8CB4802B5FB7B4 /* WistiaProject.swift in Sources */ = {isa = PBXBuildFile; fileRef = F24F9A64BC941C0ED4B78C460B23274C /* WistiaProject.swift */; }; + B94C9F1F788D71A4BE8CB4802B5FB7B4 /* WistiaProject.swift in Sources */ = {isa = PBXBuildFile; fileRef = 03BB030494C1D33FB65B0305E63F0DC3 /* WistiaProject.swift */; }; BC470EB04DF3413031D660349B2FF7BC /* Pods-WistiaKit_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 49DAB5A3EA3FC4027A4F5C2DA72F5023 /* Pods-WistiaKit_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; BE41196F6A3903E59C3306FE3F8B43FE /* Notifications.swift in Sources */ = {isa = PBXBuildFile; fileRef = 353D5E2DF197EE796415B70DD58DF845 /* Notifications.swift */; }; BEAAA1F21C074D12000C87F5E87C49FF /* WistiaKit-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 3771B4E0F5FCDA99AD3408200C33B17F /* WistiaKit-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; C0DB70AB368765DC64BFB5FEA75E0696 /* ParameterEncoding.swift in Sources */ = {isa = PBXBuildFile; fileRef = D89DBE304DB2033CDF99CF9A23354D04 /* ParameterEncoding.swift */; }; C0E35536E3E52121DA24573C847B6AE5 /* Pods-WistiaKit_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 407F047EBEF9ACEC944A3A07C925E20C /* Pods-WistiaKit_Tests-dummy.m */; }; C7B6DD7C0456C50289A2C381DFE9FA3F /* MultipartFormData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2E2B4F32C4D92F1ACC0215E05EBEC2B6 /* MultipartFormData.swift */; }; - CDA5F4F105CFBCC69F46441826532F55 /* WistiaMedia.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE99304725DAEB790B1978A476B6F0F2 /* WistiaMedia.swift */; }; - CF829391970DA8E83AD03A419C69E6E4 /* WistiaFlatPlayerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = BE632F369DFB99701DAA28BDF7CB4C52 /* WistiaFlatPlayerView.swift */; }; - D857E81FD68EA75A7F22EF36CEA73F28 /* WistiaPlayerViewController.xib in Sources */ = {isa = PBXBuildFile; fileRef = 45637FE14A99C4DED822FD0B97E186F9 /* WistiaPlayerViewController.xib */; }; - E001FFF1F81B1DEB78D8E805072E0D2E /* Wistia360PlayerView+LookVectorTracking.swift in Sources */ = {isa = PBXBuildFile; fileRef = AD5DF6C74E22959EF34E86583D55CAE3 /* Wistia360PlayerView+LookVectorTracking.swift */; }; - E80BFC713AC55D684EB74852DDF05552 /* WistiaAsset.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3CE22CC58952757FD84141DE145ED9FC /* WistiaAsset.swift */; }; + CDA5F4F105CFBCC69F46441826532F55 /* WistiaMedia.swift in Sources */ = {isa = PBXBuildFile; fileRef = 456FC73EEF2981E9661864AB9DF2CE21 /* WistiaMedia.swift */; }; + CF829391970DA8E83AD03A419C69E6E4 /* WistiaFlatPlayerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 94AED0FA89F49009D289DF57A5FAE653 /* WistiaFlatPlayerView.swift */; }; + D857E81FD68EA75A7F22EF36CEA73F28 /* WistiaPlayerViewController.xib in Sources */ = {isa = PBXBuildFile; fileRef = 139475784B3F33BD5BB500486D88F852 /* WistiaPlayerViewController.xib */; }; + E001FFF1F81B1DEB78D8E805072E0D2E /* Wistia360PlayerView+LookVectorTracking.swift in Sources */ = {isa = PBXBuildFile; fileRef = 88E7F0AFD2314423E33A6A70FA47868D /* Wistia360PlayerView+LookVectorTracking.swift */; }; + E80BFC713AC55D684EB74852DDF05552 /* WistiaAsset.swift in Sources */ = {isa = PBXBuildFile; fileRef = 96F820F56839845072DBA06338676609 /* WistiaAsset.swift */; }; EAF52C7D4FFFA47D2BB872204614842A /* SceneKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 679C054F4C1911A3CE62B1350412AB2F /* SceneKit.framework */; }; EB7D1260D31A6F49E3E273CE870AA3DD /* Alamofire.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9833A6F2889EEA6E2A252E753E167DB7 /* Alamofire.framework */; }; EF48B357A3158B57C78F8D28326748C9 /* UIButton+AlamofireImage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 72F94C03FAD5C92CEFEAE876C6829F0D /* UIButton+AlamofireImage.swift */; }; @@ -83,7 +83,7 @@ F47BC9C21C30DCA6E77E0948E7C38139 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DA19C340E23F63D20A46573C707C3414 /* Foundation.framework */; }; F4F91D7744BC3674AF1663FD14187660 /* Pods-WistiaKit_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 28F253358F2CF5E56B33EC4A53BAFD35 /* Pods-WistiaKit_Example-dummy.m */; }; FAA1017FCE0F8B1C6E6BACCCD05B4A6A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DA19C340E23F63D20A46573C707C3414 /* Foundation.framework */; }; - FE6C8A61426385C79DA9AA9CDF530E70 /* WistiaObjectStatus.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA0E29F14A15D228472EA885C6DCE039 /* WistiaObjectStatus.swift */; }; + FE6C8A61426385C79DA9AA9CDF530E70 /* WistiaObjectStatus.swift in Sources */ = {isa = PBXBuildFile; fileRef = FF31F0365FC90AC92A11E47164DA3BD5 /* WistiaObjectStatus.swift */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -154,19 +154,18 @@ /* Begin PBXFileReference section */ 000FE400CCE7F9E913DA8C8C46677610 /* Validation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Validation.swift; path = Source/Validation.swift; sourceTree = ""; }; - 03E713F35FBDB2332E3EDFB3560E1E93 /* WistiaAPI.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaAPI.swift; sourceTree = ""; }; + 03BB030494C1D33FB65B0305E63F0DC3 /* WistiaProject.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaProject.swift; sourceTree = ""; }; 065B9F5459D4B1D85130851F3B8865A2 /* WistiaKit-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "WistiaKit-dummy.m"; sourceTree = ""; }; 0675D841D8C298DC32B04D1565222FBA /* SpriteKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SpriteKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/Frameworks/SpriteKit.framework; sourceTree = DEVELOPER_DIR; }; 1102B05F3882D0B7B0EEA23AA2EDDDBD /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 134FEA47AE968B7A8CB7A24D5E44852E /* Pods_WistiaKit_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_WistiaKit_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 139475784B3F33BD5BB500486D88F852 /* WistiaPlayerViewController.xib */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = file.xib; path = WistiaPlayerViewController.xib; sourceTree = ""; }; 15336EBB4828410FB080381877C1CBB9 /* ServerTrustPolicy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ServerTrustPolicy.swift; path = Source/ServerTrustPolicy.swift; sourceTree = ""; }; 157689B5247A0B5E1ED5F4029627BBB8 /* Pods-WistiaKit_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-WistiaKit_Example-resources.sh"; sourceTree = ""; }; 16F5BC36BD86D2E6C1BFD17C67E48FDC /* AlamofireImage-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AlamofireImage-prefix.pch"; sourceTree = ""; }; 178377ADB996DB4290A6CF1550CD916D /* Pods-WistiaKit_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-WistiaKit_Example-acknowledgements.plist"; sourceTree = ""; }; - 18DCC387E990F21D0C033C16452E55A2 /* WistiaMediaStats.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaMediaStats.swift; sourceTree = ""; }; 19BA30340E5CBC4882E85BD1F29E2D8E /* Alamofire.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Alamofire.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 1BF73D4CA7FD9020885A907609C8D8F7 /* WistiaKit-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "WistiaKit-prefix.pch"; sourceTree = ""; }; - 1D454E2430A989033896253F78F72E6B /* CaptionsLabel.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = CaptionsLabel.swift; sourceTree = ""; }; 1E3B19DD6781BCC059E5EFCEDA925A14 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; }; 1F1A575D9E4EE4D989CA93A184B09FF1 /* Alamofire-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Alamofire-dummy.m"; sourceTree = ""; }; 207B6A1EED33AB5585A574103334B8CD /* ResponseSerialization.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ResponseSerialization.swift; path = Source/ResponseSerialization.swift; sourceTree = ""; }; @@ -183,65 +182,66 @@ 366B8065FE98F48548F8B50A715FFD48 /* Pods-WistiaKit_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-WistiaKit_Example.debug.xcconfig"; sourceTree = ""; }; 36BEE7460BDCDB9D08B36B345F8E297F /* UIImage+AlamofireImage.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIImage+AlamofireImage.swift"; path = "Source/UIImage+AlamofireImage.swift"; sourceTree = ""; }; 3771B4E0F5FCDA99AD3408200C33B17F /* WistiaKit-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "WistiaKit-umbrella.h"; sourceTree = ""; }; - 3A841068042CC455742126154A3B99F6 /* WistiaMediaEventCollector.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaMediaEventCollector.swift; sourceTree = ""; }; - 3CE22CC58952757FD84141DE145ED9FC /* WistiaAsset.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaAsset.swift; sourceTree = ""; }; + 3CEA89C168BF954E204C2A5D8B5773FE /* WistiaPlayer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaPlayer.swift; sourceTree = ""; }; 3D6A4529C51A194996B99BEF4B778F2E /* AlamofireImage.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AlamofireImage.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 3DAF722C6A532A503CA0B34B5EB6CDEB /* WistiaCaptions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaCaptions.swift; sourceTree = ""; }; 3DD1266FABDB60FB77700D23188219C0 /* AlamofireImage-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AlamofireImage-umbrella.h"; sourceTree = ""; }; 407F047EBEF9ACEC944A3A07C925E20C /* Pods-WistiaKit_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-WistiaKit_Tests-dummy.m"; sourceTree = ""; }; 417B248840CF4160944B057C5A58E185 /* ImageFilter.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ImageFilter.swift; path = Source/ImageFilter.swift; sourceTree = ""; }; 43087C8D315AA446F58DB0E7A7A82223 /* Pods-WistiaKit_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-WistiaKit_Tests.release.xcconfig"; sourceTree = ""; }; 43BA3067FB4C1D9ABB79D440E6AE35FC /* Pods-WistiaKit_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-WistiaKit_Example-umbrella.h"; sourceTree = ""; }; - 45637FE14A99C4DED822FD0B97E186F9 /* WistiaPlayerViewController.xib */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = file.xib; path = WistiaPlayerViewController.xib; sourceTree = ""; }; + 44CD91C277BF175A64062B82939D356D /* WistiaAPI_internal.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaAPI_internal.swift; sourceTree = ""; }; + 456FC73EEF2981E9661864AB9DF2CE21 /* WistiaMedia.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaMedia.swift; sourceTree = ""; }; 4725213121FEC12F519BF19475C52042 /* Error.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Error.swift; path = Source/Error.swift; sourceTree = ""; }; 49D7C24EB3225D4472BA9871B96FA195 /* Pods-WistiaKit_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-WistiaKit_Tests.debug.xcconfig"; sourceTree = ""; }; 49DAB5A3EA3FC4027A4F5C2DA72F5023 /* Pods-WistiaKit_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-WistiaKit_Tests-umbrella.h"; sourceTree = ""; }; - 4FECFF69ADEAB2BD4A2A349E6121B31E /* WistiaPlayerViewController.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaPlayerViewController.swift; sourceTree = ""; }; - 4FFB86C0B8A49C9FF33ED99B62FC977C /* UIColorExtensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = UIColorExtensions.swift; sourceTree = ""; }; + 4A15906CE5591D94896B2BDE8B52D69F /* WistiaMediaStats.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaMediaStats.swift; sourceTree = ""; }; 54D8F2298C2398D87688EAE097ECC4C9 /* Pods-WistiaKit_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-WistiaKit_Tests-frameworks.sh"; sourceTree = ""; }; - 55651B28CA40EFB9C7F588D0698EBD8B /* WistiaPlayerViewController_internal.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaPlayerViewController_internal.swift; sourceTree = ""; }; - 571684A8AEE0D1C07DC07E315FFFFD04 /* ModelBuilder.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = ModelBuilder.swift; sourceTree = ""; }; 5EE395757CDFC797405D056EA15FE55B /* AVKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/Frameworks/AVKit.framework; sourceTree = DEVELOPER_DIR; }; + 5F7C354998984F5AD25E11565535E460 /* WistiaPlayerViewController.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaPlayerViewController.swift; sourceTree = ""; }; 638BFDCF44BB1898E7F3F6987FB09555 /* WistiaKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = WistiaKit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 679C054F4C1911A3CE62B1350412AB2F /* SceneKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SceneKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/Frameworks/SceneKit.framework; sourceTree = DEVELOPER_DIR; }; - 6941EF2F7A3C10F3C3A140EF6F0CADEE /* WistiaCaptionsRenderer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaCaptionsRenderer.swift; sourceTree = ""; }; + 694CB40E35704B7BC11DC58A52EC9B08 /* WistiaAPI.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaAPI.swift; sourceTree = ""; }; 6D61970B6BFA1B5006B0A5CEBB4EED0F /* Stream.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Stream.swift; path = Source/Stream.swift; sourceTree = ""; }; + 72E11721209B16B6D93C44E44F8B6BF1 /* WistiaMediaEventCollector.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaMediaEventCollector.swift; sourceTree = ""; }; 72F94C03FAD5C92CEFEAE876C6829F0D /* UIButton+AlamofireImage.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIButton+AlamofireImage.swift"; path = "Source/UIButton+AlamofireImage.swift"; sourceTree = ""; }; - 75E9E211A349E5F343355C4FE5F96030 /* Wistia360PlayerView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Wistia360PlayerView.swift; sourceTree = ""; }; - 78C2850447B052B0749E8C16AF22C8CC /* WistiaStatsManager.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaStatsManager.swift; sourceTree = ""; }; + 733BEEEF8E6B88CE22EAAC6FBD916B7F /* WistiaAccount.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaAccount.swift; sourceTree = ""; }; 7A55AF822A1D049EB8FC54B82E51B5B5 /* AlamofireImage.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AlamofireImage.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 7B2BAF2265A47E1C666B60B232E02E6F /* Pods-WistiaKit_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-WistiaKit_Example-frameworks.sh"; sourceTree = ""; }; 7D8FE52D183CE55F049BCCD05F0FD9C1 /* Pods-WistiaKit_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-WistiaKit_Tests-acknowledgements.plist"; sourceTree = ""; }; 7DA7D6400293A8B514B1C300179CA05C /* AlamofireImage.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = AlamofireImage.xcconfig; sourceTree = ""; }; - 7FD4987B7BBDD3BB6E2B863631A3AC1F /* WistiaMediaEmbedOptions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaMediaEmbedOptions.swift; sourceTree = ""; }; 8140C73B013A38DC4CFC00E027881E4C /* AlamofireImage.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = AlamofireImage.modulemap; sourceTree = ""; }; - 8648E57E89959FEDAAF4E1B1ED76C9F8 /* WistiaAccount.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaAccount.swift; sourceTree = ""; }; + 85DFBC61D919C5874C31852D13DE1EE3 /* Wistia360PlayerView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Wistia360PlayerView.swift; sourceTree = ""; }; + 88E7F0AFD2314423E33A6A70FA47868D /* Wistia360PlayerView+LookVectorTracking.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "Wistia360PlayerView+LookVectorTracking.swift"; sourceTree = ""; }; 899440AA9BF862998C03276188A53676 /* Alamofire.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = Alamofire.modulemap; sourceTree = ""; }; - 8EB36E1485E2F88E6E7AB12935E0EBCF /* SCNVector3Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = SCNVector3Extensions.swift; sourceTree = ""; }; 8FA12CFBEFA8665E06FDC738B3A99B7C /* Result.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Result.swift; path = Source/Result.swift; sourceTree = ""; }; - 92A08758282F466A36C0C08161D81057 /* WistiaAPI_internal.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaAPI_internal.swift; sourceTree = ""; }; + 91F986CE0FEA373539BA8E4832F2328D /* WistiaMediaEmbedOptions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaMediaEmbedOptions.swift; sourceTree = ""; }; 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + 94AED0FA89F49009D289DF57A5FAE653 /* WistiaFlatPlayerView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaFlatPlayerView.swift; sourceTree = ""; }; 954DFF83096B2C34928E142024B88DF9 /* Pods-WistiaKit_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-WistiaKit_Tests-resources.sh"; sourceTree = ""; }; - 96E0AC81E0719A6250B3E917F5A1DC50 /* WistiaPlayer_internal.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaPlayer_internal.swift; sourceTree = ""; }; + 96F820F56839845072DBA06338676609 /* WistiaAsset.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaAsset.swift; sourceTree = ""; }; 9833A6F2889EEA6E2A252E753E167DB7 /* Alamofire.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Alamofire.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 9BEF004F964BB7DABD23CD37E5CA978D /* Image.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Image.swift; path = Source/Image.swift; sourceTree = ""; }; A461F322348E831BD5ECAD2C80E9A95D /* Alamofire-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Alamofire-prefix.pch"; sourceTree = ""; }; + A6B7FDBC77DE6B367376CE1FC75721F4 /* WistiaCaptionsRenderer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaCaptionsRenderer.swift; sourceTree = ""; }; + A8A190E9B8E4AB87C8A2770193A03944 /* UINavigationControllerExtensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = UINavigationControllerExtensions.swift; sourceTree = ""; }; A9159A8F978A7E38B31D2FB9C38A59AE /* Alamofire-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Alamofire-umbrella.h"; sourceTree = ""; }; - AA0E29F14A15D228472EA885C6DCE039 /* WistiaObjectStatus.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaObjectStatus.swift; sourceTree = ""; }; - ACD62E094787549052155AB8DAC80843 /* WistiaPlayer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaPlayer.swift; sourceTree = ""; }; - AD5DF6C74E22959EF34E86583D55CAE3 /* Wistia360PlayerView+LookVectorTracking.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = "Wistia360PlayerView+LookVectorTracking.swift"; sourceTree = ""; }; - AE99304725DAEB790B1978A476B6F0F2 /* WistiaMedia.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaMedia.swift; sourceTree = ""; }; + A93B6BC9124D11AF6DBA1190B52647A2 /* WistiaPlayer_internal.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaPlayer_internal.swift; sourceTree = ""; }; AEBBE1DBE80C8043D1AACFF35388DE8C /* Timeline.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Timeline.swift; path = Source/Timeline.swift; sourceTree = ""; }; + AEF2F2632DC9B3EA3C3BFD867C21DD31 /* WistiaStatsManager.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaStatsManager.swift; sourceTree = ""; }; + B0CCD86682E1CE7D0376406C7A4B263B /* UIColorExtensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = UIColorExtensions.swift; sourceTree = ""; }; B271B854D60706772EE28F9F603B41FE /* Pods-WistiaKit_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-WistiaKit_Tests-acknowledgements.markdown"; sourceTree = ""; }; B49CDF66765ED76C9CB61465DD306E90 /* Pods-WistiaKit_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-WistiaKit_Example.release.xcconfig"; sourceTree = ""; }; B5F1B7C5E40428760C5CC95D596CE40D /* WistiaKit.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = WistiaKit.modulemap; sourceTree = ""; }; BAD592F13338906B41811D7BD9E357C8 /* Alamofire.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Alamofire.xcconfig; sourceTree = ""; }; BB22AE5939252512ED61EC60C35A96F9 /* AlamofireImage-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "AlamofireImage-dummy.m"; sourceTree = ""; }; + BC61F798327319E96C6FB32BBE882D8B /* SCNVector3Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = SCNVector3Extensions.swift; sourceTree = ""; }; BD13F9498961CBAA32075869F79A1CEF /* ImageCache.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ImageCache.swift; path = Source/ImageCache.swift; sourceTree = ""; }; BDA2A923BC7631394FD3CEEBDE8D0B13 /* Request.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Request.swift; path = Source/Request.swift; sourceTree = ""; }; - BE632F369DFB99701DAA28BDF7CB4C52 /* WistiaFlatPlayerView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaFlatPlayerView.swift; sourceTree = ""; }; C353EF8CECF13CB746532E7CCF3D354C /* Manager.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Manager.swift; path = Source/Manager.swift; sourceTree = ""; }; + C8571B3A7BEF0D148A7B2FECA294D28C /* ModelBuilder.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = ModelBuilder.swift; sourceTree = ""; }; CBE541EC5ABD7084E6CB7E8F1F0884E2 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + D0339774A1A8289B490E8EF99301100F /* WistiaPlayerViewController_internal.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaPlayerViewController_internal.swift; sourceTree = ""; }; + D0C80FB403208B92F006C0D4B661A037 /* WistiaCaptions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaCaptions.swift; sourceTree = ""; }; D402C965854A55E24EDC621B87371CA4 /* Alamofire.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Alamofire.swift; path = Source/Alamofire.swift; sourceTree = ""; }; D4117873CC55AACDC0405826C46ABC2D /* Pods-WistiaKit_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-WistiaKit_Tests.modulemap"; sourceTree = ""; }; D89DBE304DB2033CDF99CF9A23354D04 /* ParameterEncoding.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ParameterEncoding.swift; path = Source/ParameterEncoding.swift; sourceTree = ""; }; @@ -255,10 +255,10 @@ E62C64642925AB080E3E1391EFD2C179 /* AdSupport.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AdSupport.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/Frameworks/AdSupport.framework; sourceTree = DEVELOPER_DIR; }; EE09338B6AAA38DBDA12DE70E3FAF3EA /* Pods_WistiaKit_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_WistiaKit_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; F12F90872EA732E2762D108D5F0D0CA9 /* NetworkReachabilityManager.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NetworkReachabilityManager.swift; path = Source/NetworkReachabilityManager.swift; sourceTree = ""; }; - F24F9A64BC941C0ED4B78C460B23274C /* WistiaProject.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaProject.swift; sourceTree = ""; }; - F6738CC5F70176049CD0EC7CA9FAFEF7 /* UINavigationControllerExtensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = UINavigationControllerExtensions.swift; sourceTree = ""; }; + F3E8B00A66314960670D126319B61A53 /* CaptionsLabel.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = CaptionsLabel.swift; sourceTree = ""; }; F78BB899597323EAEAD83389F18AF86E /* Pods-WistiaKit_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-WistiaKit_Example-acknowledgements.markdown"; sourceTree = ""; }; F800F015948C94CCC08A79FA0E876BC5 /* Pods-WistiaKit_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-WistiaKit_Example.modulemap"; sourceTree = ""; }; + FF31F0365FC90AC92A11E47164DA3BD5 /* WistiaObjectStatus.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = WistiaObjectStatus.swift; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -315,6 +315,15 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 05331A5493FC1CF08DE087D043843277 /* stats */ = { + isa = PBXGroup; + children = ( + 72E11721209B16B6D93C44E44F8B6BF1 /* WistiaMediaEventCollector.swift */, + AEF2F2632DC9B3EA3C3BFD867C21DD31 /* WistiaStatsManager.swift */, + ); + path = stats; + sourceTree = ""; + }; 265935825F039287E3699C06AD01210A /* Frameworks */ = { isa = PBXGroup; children = ( @@ -328,7 +337,7 @@ 291A7988C0501B7A559674B7ED2AB52D /* Pod */ = { isa = PBXGroup; children = ( - B890512F8DD675118F71733A910EAEF3 /* Classes */, + 629F52E94DC79E770DA05C457F1D4D7D /* Classes */, ); path = Pod; sourceTree = ""; @@ -412,6 +421,15 @@ path = "Example/Pods/Target Support Files/WistiaKit"; sourceTree = ""; }; + 629F52E94DC79E770DA05C457F1D4D7D /* Classes */ = { + isa = PBXGroup; + children = ( + 6E30CABCBE6CDB772F8C4E463EA6866C /* internal */, + AB9F8641EF85D822096BFEBEDC21A068 /* public */, + ); + path = Classes; + sourceTree = ""; + }; 698FBB406873EF827F075C1FA6977BB6 /* Products */ = { isa = PBXGroup; children = ( @@ -424,6 +442,20 @@ name = Products; sourceTree = ""; }; + 6E30CABCBE6CDB772F8C4E463EA6866C /* internal */ = { + isa = PBXGroup; + children = ( + 44CD91C277BF175A64062B82939D356D /* WistiaAPI_internal.swift */, + A93B6BC9124D11AF6DBA1190B52647A2 /* WistiaPlayer_internal.swift */, + 8827A49563BFED315F42FFA2B1157473 /* extension */, + 87659B1C82F93CDF6A5EB3826017631B /* model */, + 05331A5493FC1CF08DE087D043843277 /* stats */, + ADDF64890AADAEC8A50924107E11E9DB /* view */, + 8A962FA0340B0FA2EDFB79D75404867B /* view controller */, + ); + path = internal; + sourceTree = ""; + }; 720256CCBB01E6A1E055089076E63E91 /* Alamofire */ = { isa = PBXGroup; children = ( @@ -479,6 +511,34 @@ ); sourceTree = ""; }; + 87659B1C82F93CDF6A5EB3826017631B /* model */ = { + isa = PBXGroup; + children = ( + C8571B3A7BEF0D148A7B2FECA294D28C /* ModelBuilder.swift */, + D0C80FB403208B92F006C0D4B661A037 /* WistiaCaptions.swift */, + ); + path = model; + sourceTree = ""; + }; + 8827A49563BFED315F42FFA2B1157473 /* extension */ = { + isa = PBXGroup; + children = ( + BC61F798327319E96C6FB32BBE882D8B /* SCNVector3Extensions.swift */, + B0CCD86682E1CE7D0376406C7A4B263B /* UIColorExtensions.swift */, + A8A190E9B8E4AB87C8A2770193A03944 /* UINavigationControllerExtensions.swift */, + ); + path = extension; + sourceTree = ""; + }; + 8A962FA0340B0FA2EDFB79D75404867B /* view controller */ = { + isa = PBXGroup; + children = ( + 139475784B3F33BD5BB500486D88F852 /* WistiaPlayerViewController.xib */, + D0339774A1A8289B490E8EF99301100F /* WistiaPlayerViewController_internal.swift */, + ); + path = "view controller"; + sourceTree = ""; + }; 9639BE24A0786E41D96083916B6810D2 /* Pods-WistiaKit_Example */ = { isa = PBXGroup; children = ( @@ -497,20 +557,6 @@ path = "Target Support Files/Pods-WistiaKit_Example"; sourceTree = ""; }; - 9CC9C6340D143B20F55241C73F0179AA /* internal */ = { - isa = PBXGroup; - children = ( - 92A08758282F466A36C0C08161D81057 /* WistiaAPI_internal.swift */, - 96E0AC81E0719A6250B3E917F5A1DC50 /* WistiaPlayer_internal.swift */, - F520DF196F3801443FF160E6FF6ADD0D /* extension */, - B9B27005091A4B8B4A6A1F9C35136824 /* model */, - D5AE05147E75448FF072DF39E11EA73D /* stats */, - B9F2E64E2B72E84E91EA87A892BA4514 /* view */, - AC52AE470452D1BFEF0B31161D84F3D1 /* view controller */, - ); - path = internal; - sourceTree = ""; - }; A0FFC85DF3CBE0FA0E896567E7FC3566 /* Resources */ = { isa = PBXGroup; children = ( @@ -519,25 +565,27 @@ name = Resources; sourceTree = ""; }; - AC1BD6A656D11DCA79A671D38414552D /* public */ = { + AB9F8641EF85D822096BFEBEDC21A068 /* public */ = { isa = PBXGroup; children = ( - 03E713F35FBDB2332E3EDFB3560E1E93 /* WistiaAPI.swift */, - 6941EF2F7A3C10F3C3A140EF6F0CADEE /* WistiaCaptionsRenderer.swift */, - ACD62E094787549052155AB8DAC80843 /* WistiaPlayer.swift */, - 4FECFF69ADEAB2BD4A2A349E6121B31E /* WistiaPlayerViewController.swift */, - DD95C721784BB56E22143CAF4958F48A /* model */, + 694CB40E35704B7BC11DC58A52EC9B08 /* WistiaAPI.swift */, + A6B7FDBC77DE6B367376CE1FC75721F4 /* WistiaCaptionsRenderer.swift */, + 94AED0FA89F49009D289DF57A5FAE653 /* WistiaFlatPlayerView.swift */, + 3CEA89C168BF954E204C2A5D8B5773FE /* WistiaPlayer.swift */, + 5F7C354998984F5AD25E11565535E460 /* WistiaPlayerViewController.swift */, + EB1850E7E1B853143866FCC48FE1712A /* model */, ); path = public; sourceTree = ""; }; - AC52AE470452D1BFEF0B31161D84F3D1 /* view controller */ = { + ADDF64890AADAEC8A50924107E11E9DB /* view */ = { isa = PBXGroup; children = ( - 45637FE14A99C4DED822FD0B97E186F9 /* WistiaPlayerViewController.xib */, - 55651B28CA40EFB9C7F588D0698EBD8B /* WistiaPlayerViewController_internal.swift */, + F3E8B00A66314960670D126319B61A53 /* CaptionsLabel.swift */, + 85DFBC61D919C5874C31852D13DE1EE3 /* Wistia360PlayerView.swift */, + 88E7F0AFD2314423E33A6A70FA47868D /* Wistia360PlayerView+LookVectorTracking.swift */, ); - path = "view controller"; + path = view; sourceTree = ""; }; B193C383F5894DF7457724C1601A31C1 /* WistiaKit */ = { @@ -565,54 +613,16 @@ path = "../Target Support Files/Alamofire"; sourceTree = ""; }; - B890512F8DD675118F71733A910EAEF3 /* Classes */ = { + EB1850E7E1B853143866FCC48FE1712A /* model */ = { isa = PBXGroup; children = ( - 9CC9C6340D143B20F55241C73F0179AA /* internal */, - AC1BD6A656D11DCA79A671D38414552D /* public */, - ); - path = Classes; - sourceTree = ""; - }; - B9B27005091A4B8B4A6A1F9C35136824 /* model */ = { - isa = PBXGroup; - children = ( - 571684A8AEE0D1C07DC07E315FFFFD04 /* ModelBuilder.swift */, - 3DAF722C6A532A503CA0B34B5EB6CDEB /* WistiaCaptions.swift */, - ); - path = model; - sourceTree = ""; - }; - B9F2E64E2B72E84E91EA87A892BA4514 /* view */ = { - isa = PBXGroup; - children = ( - 1D454E2430A989033896253F78F72E6B /* CaptionsLabel.swift */, - 75E9E211A349E5F343355C4FE5F96030 /* Wistia360PlayerView.swift */, - AD5DF6C74E22959EF34E86583D55CAE3 /* Wistia360PlayerView+LookVectorTracking.swift */, - BE632F369DFB99701DAA28BDF7CB4C52 /* WistiaFlatPlayerView.swift */, - ); - path = view; - sourceTree = ""; - }; - D5AE05147E75448FF072DF39E11EA73D /* stats */ = { - isa = PBXGroup; - children = ( - 3A841068042CC455742126154A3B99F6 /* WistiaMediaEventCollector.swift */, - 78C2850447B052B0749E8C16AF22C8CC /* WistiaStatsManager.swift */, - ); - path = stats; - sourceTree = ""; - }; - DD95C721784BB56E22143CAF4958F48A /* model */ = { - isa = PBXGroup; - children = ( - 8648E57E89959FEDAAF4E1B1ED76C9F8 /* WistiaAccount.swift */, - 3CE22CC58952757FD84141DE145ED9FC /* WistiaAsset.swift */, - AE99304725DAEB790B1978A476B6F0F2 /* WistiaMedia.swift */, - 7FD4987B7BBDD3BB6E2B863631A3AC1F /* WistiaMediaEmbedOptions.swift */, - 18DCC387E990F21D0C033C16452E55A2 /* WistiaMediaStats.swift */, - AA0E29F14A15D228472EA885C6DCE039 /* WistiaObjectStatus.swift */, - F24F9A64BC941C0ED4B78C460B23274C /* WistiaProject.swift */, + 733BEEEF8E6B88CE22EAAC6FBD916B7F /* WistiaAccount.swift */, + 96F820F56839845072DBA06338676609 /* WistiaAsset.swift */, + 456FC73EEF2981E9661864AB9DF2CE21 /* WistiaMedia.swift */, + 91F986CE0FEA373539BA8E4832F2328D /* WistiaMediaEmbedOptions.swift */, + 4A15906CE5591D94896B2BDE8B52D69F /* WistiaMediaStats.swift */, + FF31F0365FC90AC92A11E47164DA3BD5 /* WistiaObjectStatus.swift */, + 03BB030494C1D33FB65B0305E63F0DC3 /* WistiaProject.swift */, ); path = model; sourceTree = ""; @@ -631,16 +641,6 @@ path = "../Target Support Files/AlamofireImage"; sourceTree = ""; }; - F520DF196F3801443FF160E6FF6ADD0D /* extension */ = { - isa = PBXGroup; - children = ( - 8EB36E1485E2F88E6E7AB12935E0EBCF /* SCNVector3Extensions.swift */, - 4FFB86C0B8A49C9FF33ED99B62FC977C /* UIColorExtensions.swift */, - F6738CC5F70176049CD0EC7CA9FAFEF7 /* UINavigationControllerExtensions.swift */, - ); - path = extension; - sourceTree = ""; - }; F5EC5FFDD8E174C83FD994197005FB86 /* Pod */ = { isa = PBXGroup; children = ( diff --git a/Example/Pods/Target Support Files/Alamofire/Info.plist b/Example/Pods/Target Support Files/Alamofire/Info.plist index ebdce25..152c333 100644 --- a/Example/Pods/Target Support Files/Alamofire/Info.plist +++ b/Example/Pods/Target Support Files/Alamofire/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 3.4.0 + 3.4.2 CFBundleSignature ???? CFBundleVersion diff --git a/Example/Pods/Target Support Files/AlamofireImage/Info.plist b/Example/Pods/Target Support Files/AlamofireImage/Info.plist index e526849..6810787 100644 --- a/Example/Pods/Target Support Files/AlamofireImage/Info.plist +++ b/Example/Pods/Target Support Files/AlamofireImage/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 2.4.0 + 2.4.1 CFBundleSignature ???? CFBundleVersion From dbcfd0c143fa69c9197065adab0f6b449a7427f4 Mon Sep 17 00:00:00 2001 From: spinosa Date: Wed, 31 Aug 2016 17:08:02 -0400 Subject: [PATCH 5/5] Bump to v0.9.3 --- Example/Podfile.lock | 4 ++-- Example/Pods/Local Podspecs/WistiaKit.podspec.json | 4 ++-- Example/Pods/Manifest.lock | 4 ++-- Example/Pods/Target Support Files/WistiaKit/Info.plist | 2 +- WistiaKit.podspec | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 274d8cf..47a7d75 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -2,7 +2,7 @@ PODS: - Alamofire (3.4.2) - AlamofireImage (2.4.1): - Alamofire (~> 3.3) - - WistiaKit (0.9.2): + - WistiaKit (0.9.3): - Alamofire (~> 3.3) - AlamofireImage (~> 2.4) @@ -16,7 +16,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: Alamofire: 6aa33201d20d069e1598891cf928883ff1888c7a AlamofireImage: 3ccf3347d9ea24580dc11fb892770a0be6a29826 - WistiaKit: 8e6e2dc5d9b19c8def82625d760a59c53a5e8705 + WistiaKit: 9a6e03f30a782047a5341e9dfe4a879ca0266d98 PODFILE CHECKSUM: 39f4e05824aa046cc4e791747aa25b4d2ab920db diff --git a/Example/Pods/Local Podspecs/WistiaKit.podspec.json b/Example/Pods/Local Podspecs/WistiaKit.podspec.json index e56c3f6..881a860 100644 --- a/Example/Pods/Local Podspecs/WistiaKit.podspec.json +++ b/Example/Pods/Local Podspecs/WistiaKit.podspec.json @@ -1,6 +1,6 @@ { "name": "WistiaKit", - "version": "0.9.2", + "version": "0.9.3", "summary": "Access and playback all of your Wistia media", "description": "Wistia is a great web video host. But why shackle ourselves to the world wide web?\n\nWith WistiaKit you can easily access and play back all of your Wistia hosted content natively on iOS and tvOS.\n\nWe've built for you a beautiful high level view controller (like AVPlayerViewController) sitting atop a powerful lower level player (like AVPlayer) providing all of the power of Wistia on iOS and tvOS.", "homepage": "https://github.com/wistia/WistiaKit", @@ -10,7 +10,7 @@ }, "source": { "git": "https://github.com/wistia/WistiaKit.git", - "tag": "0.9.2" + "tag": "0.9.3" }, "social_media_url": "https://twitter.com/wistia", "platforms": { diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock index 274d8cf..47a7d75 100644 --- a/Example/Pods/Manifest.lock +++ b/Example/Pods/Manifest.lock @@ -2,7 +2,7 @@ PODS: - Alamofire (3.4.2) - AlamofireImage (2.4.1): - Alamofire (~> 3.3) - - WistiaKit (0.9.2): + - WistiaKit (0.9.3): - Alamofire (~> 3.3) - AlamofireImage (~> 2.4) @@ -16,7 +16,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: Alamofire: 6aa33201d20d069e1598891cf928883ff1888c7a AlamofireImage: 3ccf3347d9ea24580dc11fb892770a0be6a29826 - WistiaKit: 8e6e2dc5d9b19c8def82625d760a59c53a5e8705 + WistiaKit: 9a6e03f30a782047a5341e9dfe4a879ca0266d98 PODFILE CHECKSUM: 39f4e05824aa046cc4e791747aa25b4d2ab920db diff --git a/Example/Pods/Target Support Files/WistiaKit/Info.plist b/Example/Pods/Target Support Files/WistiaKit/Info.plist index 68ac6e2..b8a90bb 100644 --- a/Example/Pods/Target Support Files/WistiaKit/Info.plist +++ b/Example/Pods/Target Support Files/WistiaKit/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 0.9.2 + 0.9.3 CFBundleSignature ???? CFBundleVersion diff --git a/WistiaKit.podspec b/WistiaKit.podspec index 0ca1e0b..6359394 100644 --- a/WistiaKit.podspec +++ b/WistiaKit.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = "WistiaKit" - s.version = "0.9.2" + s.version = "0.9.3" s.summary = "Access and playback all of your Wistia media" s.description = <<-DESC