Browse Source

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

Christian Noon 10 years ago
parent
commit
5aac4f2b17
1 changed files with 5 additions and 0 deletions
  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`.
     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 {
 public class Request {
+
+    // MARK: - Properties
+
     let delegate: TaskDelegate
     let delegate: TaskDelegate
 
 
     /// The underlying task.
     /// The underlying task.
@@ -43,6 +46,8 @@ public class Request {
     /// The progress of the request lifecycle.
     /// The progress of the request lifecycle.
     public var progress: NSProgress { return delegate.progress }
     public var progress: NSProgress { return delegate.progress }
 
 
+    // MARK: - Lifecycle
+
     init(session: NSURLSession, task: NSURLSessionTask) {
     init(session: NSURLSession, task: NSURLSessionTask) {
         self.session = session
         self.session = session