Click here to Skip to main content
15,886,519 members
Articles / Programming Languages / Objective C

An Easy to Use Observer Pattern Implementation (No Inheritance Required)

Rate me:
Please Sign up or sign in to vote.
4.95/5 (21 votes)
26 Jan 20047 min read 88.8K   1.3K   41  
Observer Pattern implemented in a nice template model, easy to use as it does not require the classical inheritance and can easily decouple Subject and Observer

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

Written By
Technical Lead OneSaas - Cloud Integrations Made Easy
Australia Australia

Comments and Discussions