Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- notificationCenter
- .addObserver(forName: .urlSessionTaskDidStart,
- object: nil,
- queue: nil) { [weak self] (notification) in
- self?.handleURLSessionTaskDidStart(notification)
- }
- notificationCenter
- .addObserver(forName: .urlSessionTaskDidComplete,
- object: nil,
- queue: nil) { [weak self] (notification) in
- self?.handleURLSessionTaskDidComplete(notification)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement