< INotification > Protocol Reference

#import <INotification.h>

Inherited by Notification.

List of all members.

Public Member Functions

(id) - body
(NSString *) - name
(NSString *) - type
(void) - setBody:
(void) - setType:
(NSString *) - description


Detailed Description

The interface definition for a PureMVC Notification.

PureMVC does not rely upon underlying event models such as the one provided with in AppKit or UIKit

The Observer Pattern as implemented within PureMVC exists to support event-driven communication between the application and the actors of the MVC triad.

Notifications are not meant to be a replacement for Events in AppKit or UIKit. Generally, IMediator implementors place event listeners on their view components, which they then handle in the usual way. This may lead to the broadcast of Notifications to trigger ICommands or to communicate with other IMediators. IProxy and ICommand instances communicate with each other and IMediators by broadcasting INotifications.

See also:
IView, IObserver

Member Function Documentation

- (id) body  

Get the body of the INotification instance

- (NSString *) description  

Get the string representation of the INotification instance

Reimplemented in Notification.

- (NSString *) name  

Get the name of the INotification instance. No setter, should be set by constructor only

- (void) setBody: (id)  body  

Set the body of the INotification instance

- (void) setType: (NSString *)  type  

Set the type of the INotification instance

- (NSString *) type  

Get the type of the INotification instance


Generated on Wed Dec 24 14:19:08 2008 for PureMVC Objective-C by  doxygen 1.5.7.1