2
0
Mattt Thompson 11 жил өмнө
parent
commit
4c215620b4
1 өөрчлөгдсөн 6 нэмэгдсэн , 6 устгасан
  1. 6 6
      README.md

+ 6 - 6
README.md

@@ -203,12 +203,12 @@ Alamofire.upload(.POST, "http://httpbin.org/post", file: fileURL)
 
 ```swift
 Alamofire.upload(.POST, "http://httpbin.org/post", file: fileURL)
-        .progress { (bytesWritten, totalBytesWritten, totalBytesExpectedToWrite) in
-            println(totalBytesWritten)
-        }
-        .responseJSON { (request, response, JSON, error) in
-            println(JSON)
-        }
+         .progress { (bytesWritten, totalBytesWritten, totalBytesExpectedToWrite) in
+             println(totalBytesWritten)
+         }
+         .responseJSON { (request, response, JSON, error) in
+             println(JSON)
+         }
 ```
 
 ### Downloading