Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. notificationCenter
  2. .addObserver(forName: .urlSessionTaskDidStart,
  3. object: nil,
  4. queue: nil) { [weak self] (notification) in
  5. self?.handleURLSessionTaskDidStart(notification)
  6. }
  7. notificationCenter
  8. .addObserver(forName: .urlSessionTaskDidComplete,
  9. object: nil,
  10. queue: nil) { [weak self] (notification) in
  11. self?.handleURLSessionTaskDidComplete(notification)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement