浏览代码

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

Christian Noon 10 年之前
父节点
当前提交
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