Notification Center is a great way to have different parts of your application and code both transmit and respond to events. One example I show in this video is having the UI update when a button is clicked without the need to hard code references between Swift and UI elements.
Subscribe to my YouTube channel for notification (see what I did there) when new videos post.