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