Last active
October 30, 2018 18:48
-
-
Save andreaslydemann/f0fc032ea5679ea62e4fc6993ef54b8f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
let center = NotificationCenter.default | |
let notificationReceived = Notification.Name("notificationReceived") | |
let pizzas = ["Margherita": 1, "Pepperoni": 16, "Hawaii": 25] | |
center.post(name: notificationReceived, object: self, userInfo: pizzas) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment