Created
May 14, 2019 05:40
-
-
Save chauvincent/b191414d54ba4cbb04614b1f85ac2e24 to your computer and use it in GitHub Desktop.
Captures self strongly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NotificationCenter.default.addObserver( | |
forName: .SomethingToObserverNotification, | |
object: nil, | |
queue: .main, | |
using: handleNotification | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment