美文网首页
Notifications

Notifications

作者: 幸运的小强本人 | 来源:发表于2016-02-27 16:54 被阅读16次

    // Contains all the NSNotification names posted by
    // Alamofire with descriptions of each notification's
    // payload.

    public struct Notifications {
      // Used as a namespace for all `NSURLSessionTask` 
      //related notifications.
    
      public struct Task {
          // Notification posted when an `NSURLSessionTask` is resumed. 
          // The notification `object` contains the 
          // resumed `NSURLSessionTask`.
          public static let DidResume = "com.alamofire.notifications.task.didResume"
    
          public static let DidSuspend = "com.alamofire.notifications.task.didSuspend"
    
          public static let DidCancel = "com.alamofire.notifications.task.didCancel"
    
          public static let DidComplete = "com.alamofire.notifications.task.didComplete"
      }
    }
    

    相关文章

      网友评论

          本文标题:Notifications

          本文链接:https://www.haomeiwen.com/subject/xnbwkttx.html