i want to send some notifications to observers when some event occurs. and i also want to know how observer catch/handle/receive that notification?
<p>while reading cocoa fundamental guide i have gone through:</p>

<ul>
<li>(void)addObserver:(id)notificationObserver selector:(SEL)notificationSelector name:(NSString *)notificationName object:(id)notificationSender</li>
</ul>

<p>I am getting all theories, but actually i am looking for a real example where it is used ?</p>

<p>Can any one give some sample example.</p>

<p>Actually i want to send some notifications to observers when some event occurs.</p>

<p>and i also want to know how observer catch/handle/receive that notification ??</p>

<p>Thanks</p>
