#import <INotification.h>
Inherited by Notification.
Public Member Functions | |
(id) | - body |
(NSString *) | - name |
(NSString *) | - type |
(void) | - setBody: |
(void) | - setType: |
(NSString *) | - description |
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 Notification
s to trigger ICommand
s or to communicate with other IMediators
. IProxy
and ICommand
instances communicate with each other and IMediator
s by broadcasting INotification
s.
- (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