Skip to content

Instantly share code, notes, and snippets.

@bobleesj
Created December 17, 2016 12:46
Show Gist options
  • Save bobleesj/fa5992fafe262399bf895e6874a45509 to your computer and use it in GitHub Desktop.
Save bobleesj/fa5992fafe262399bf895e6874a45509 to your computer and use it in GitHub Desktop.
NotificationCenter.default.addObserver(forName: NSNotification.Name(rawValue: myNotificationKey),
object: nil,
queue: nil,
using:catchNotification)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment