-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hi Rex,
Great tutorial at http://rexstjohn.com/lets-call-rest-apis-with-alamofire-ios-8-and-swift/.
I noticed a discrepancy between your code here and the blog.
On the blog, the response serializers don't have type T declared.
public func responseObject(completionHandler: (NSURLRequest, NSHTTPURLResponse?, T?, NSError?) -> Void) -> Self {
...
}
In this repo, it has the correct version:
public func responseObject<T: ResponseObjectSerializable>(completionHandler: (NSURLRequest, NSHTTPURLResponse?, T?, NSError?) -> Void) -> Self {
...
}
I'm not a twitter-er and couldn't find your email on your blog, so I thought I'd reach out here.
Thought you'd want to know so you can update the blog.
-A
Metadata
Metadata
Assignees
Labels
No labels