In this scenario, the barista was the subject, the customer buying the coffee was the observer and the coffee was the state change, because the coffee went from an empty cup to a cup full of caffeinated goodness.Swift: NotificationCenter Protocol29012Andyy Hopesusu__garciaFollowJul 20, 2017 · 1 min readbest example of observer ever