NSNotificationCenter – post and listen for a notification

In your first view controller (where you need to be notified of some event) you implement code to register and remove notification.

Now with the code above in place in your first view controller you will simply call it whenever you need it with this line of code which posts the notification: