Browse Source

Fixed up a compiler issue in the iOS example.

Christian Noon 10 năm trước cách đây
mục cha
commit
b9184d4dcd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Example/DetailViewController.swift

+ 1 - 1
Example/DetailViewController.swift

@@ -75,7 +75,7 @@ class DetailViewController: UITableViewController {
         refreshControl?.beginRefreshing()
 
         let start = CACurrentMediaTime()
-        request.responseString { request, response, result in
+        request.responseString { request, response, _, result in
             let end = CACurrentMediaTime()
             self.elapsedTime = end - start