while reading cocoa fundamental guide i have gone through:
- (void)addObserver:(id)notificationObserver selector:(SEL)notificationSelector name:(NSString *)notificationName object:(id)notificationSender
I am getting all theories, but actually i am looking for a real example where it is used ?
Can any one give some sample example.
Actually 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 ??
Thanks