Преглед изворни кода

Typo in the example code - one missing ( (#2445)

Richard Groves пре 7 година
родитељ
комит
5cb7335dc8
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      Documentation/AdvancedUsage.md

+ 2 - 2
Documentation/AdvancedUsage.md

@@ -495,7 +495,7 @@ Alamofire provides built-in response serialization for data, strings, JSON, and
 Alamofire.request(...).responseData { (resp: DataResponse<Data>) in ... }
 Alamofire.request(...).responseString { (resp: DataResponse<String>) in ... }
 Alamofire.request(...).responseJSON { (resp: DataResponse<Any>) in ... }
-Alamofire.request(...).responsePropertyList { resp: DataResponse<Any>) in ... }
+Alamofire.request(...).responsePropertyList { (resp: DataResponse<Any>) in ... }
 ```
 
 Those responses wrap deserialized *values* (Data, String, Any) or *errors* (network, validation errors), as well as *meta-data* (URL request, HTTP headers, status code, [metrics](#statistical-metrics), ...).
@@ -936,4 +936,4 @@ There are some important things to remember when using network reachability to d
 - The network reachability status can be useful for determining why a network request may have failed.
     - If a network request fails, it is more useful to tell the user that the network request failed due to being offline rather than a more technical error, such as "request timed out."
 
-> It is recommended to check out [WWDC 2012 Session 706, "Networking Best Practices"](https://developer.apple.com/videos/play/wwdc2012-706/) for more info.
+> It is recommended to check out [WWDC 2012 Session 706, "Networking Best Practices"](https://developer.apple.com/videos/play/wwdc2012-706/) for more info.