EventsĪn event is a message sent by an object to signal the occurrence of an action. This article describes the major components of the delegate model, how to consume events in applications, and how to implement events in your code. An event sender pushes a notification that an event has happened, and an event receiver receives that notification and defines a response to it. The delegate model follows the observer design pattern, which enables a subscriber to register with and receive notifications from a provider.