2
0
Эх сурвалжийг харах

Added additional MARKs to the Request class to match the Manager formatting.

Christian Noon 10 жил өмнө
parent
commit
5aac4f2b17
1 өөрчлөгдсөн 5 нэмэгдсэн , 0 устгасан
  1. 5 0
      Source/Request.swift

+ 5 - 0
Source/Request.swift

@@ -26,6 +26,9 @@ import Foundation
     Responsible for sending a request and receiving the response and associated data from the server, as well as managing its underlying `NSURLSessionTask`.
 */
 public class Request {
+
+    // MARK: - Properties
+
     let delegate: TaskDelegate
 
     /// The underlying task.
@@ -43,6 +46,8 @@ public class Request {
     /// The progress of the request lifecycle.
     public var progress: NSProgress { return delegate.progress }
 
+    // MARK: - Lifecycle
+
     init(session: NSURLSession, task: NSURLSessionTask) {
         self.session = session