Observation

When to use Delegation, Notification, or Observation in iOS

Posted on Updated on

Refresh your concepts about Delegation, Notification, or Observation in iOS

Shine Solutions Group

A common problem that we often experience when developing iOS applications, is how to allow communication between our controllers, without the need to have excessive coupling. Three common patterns that appear time and time again throughout iOS applications include:

  1. Delegation
  2. Notification Center, and
  3. Key value observing

So why do we need these patterns and when should and shouldn’t they be used?

View original post 1,691 more words