Browse Source

Removed ambiguous response serializer methods that collide with default parameters.

Christian Noon 10 years ago
parent
commit
af1e24c383
1 changed files with 0 additions and 22 deletions
  1. 0 22
      Source/Alamofire.swift

+ 0 - 22
Source/Alamofire.swift

@@ -1365,17 +1365,6 @@ extension Request {
         }
     }
 
-    /**
-        Adds a handler to be called once the request has finished.
-
-        :param: completionHandler A closure to be executed once the request has finished. The closure takes 4 arguments: the URL request, the URL response, if one was received, the string, if one could be created from the URL response and data, and any error produced while creating the string.
-
-        :returns: The request.
-    */
-    public func responseString(completionHandler: (NSURLRequest, NSHTTPURLResponse?, String?, NSError?) -> Void) -> Self {
-        return responseString(completionHandler: completionHandler)
-    }
-
     /**
         Adds a handler to be called once the request has finished.
 
@@ -1452,17 +1441,6 @@ extension Request {
         }
     }
 
-    /**
-        Adds a handler to be called once the request has finished.
-
-        :param: completionHandler A closure to be executed once the request has finished. The closure takes 4 arguments: the URL request, the URL response, if one was received, the property list, if one could be created from the URL response and data, and any error produced while creating the property list.
-
-        :returns: The request.
-    */
-    public func responsePropertyList(completionHandler: (NSURLRequest, NSHTTPURLResponse?, AnyObject?, NSError?) -> Void) -> Self {
-        return responsePropertyList(completionHandler: completionHandler)
-    }
-
     /**
         Adds a handler to be called once the request has finished.