Blog : Suit My Mind - Software that suits you

#6 Understanding notifications

In this episode, I will show you how notifications can be used by an object to inform an arbitrary number of observer objects of a particular action.

[update] : I renamed _contentViewcontentView and _sliderslider. It is a good guideline not to use the _ for the instance variables in your code to avoid conflict with Cappuccino super class instance variables. I've updated the eposide code to reflect those changes. Thanks to Ross for pointing this out.

Episode files