Sha256: 79deaf98302c48ed93a814deed23470a68110bc51adc0dac3d905ed985b1afc8

Contents?: true

Size: 1.49 KB

Versions: 34

Compression:

Stored size: 1.49 KB

Contents

/**
 * The interface definition for a PureMVC Notifier.
 * 
 * <P>
 * <code>MacroCommand, Command, Mediator</code> and <code>Proxy</code>
 * all have a need to send <code>Notifications</code>. </P>
 * 
 * <P>
 * The <code>INotifier</code> interface provides a common method called
 * <code>sendNotification</code> that relieves implementation code of 
 * the necessity to actually construct <code>Notifications</code>.</P>
 * 
 * <P>
 * The <code>Notifier</code> class, which all of the above mentioned classes
 * extend, also provides an initialized reference to the <code>Facade</code>
 * Singleton, which is required for the convienience method
 * for sending <code>Notifications</code>, but also eases implementation as these
 * classes have frequent <code>Facade</code> interactions and usually require
 * access to the facade anyway.</P>
 * 
 * @see IFacade, INotification
 */
@protocol INotifier

/**
 * Send a <code>INotification</code>.
 * 
 * <P>
 * Convenience method to prevent having to construct new 
 * notification instances in our implementation code.</P>
 * 
 * @param notificationName the name of the notification to send
 * @param body the body of the notification
 * @param type the type of the notification
 */ 
-(void)sendNotification:(NSString *)notificationName body:(id)body type:(NSString *)type;
-(void)sendNotification:(NSString *)notificationName;
-(void)sendNotification:(NSString *)notificationName body:(id)body;
-(void)sendNotification:(NSString *)notificationName type:(NSString *)type;

@end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
appjam-0.1.8.11 lib/appjam/generators/project/Classes/org/puremvc/objectivec/interfaces/INotifier.h
appjam-0.1.8.10 lib/appjam/generators/project/Classes/org/puremvc/objectivec/interfaces/INotifier.h
appjam-0.1.8.9 lib/appjam/generators/project/Classes/org/puremvc/objectivec/interfaces/INotifier.h
appjam-0.1.8.8 lib/appjam/generators/project/Classes/org/puremvc/objectivec/interfaces/INotifier.h
appjam-0.1.8.7 lib/appjam/generators/project/Classes/org/puremvc/objectivec/interfaces/INotifier.h
appjam-0.1.8.6 lib/appjam/generators/project/Classes/org/puremvc/objectivec/interfaces/INotifier.h
appjam-0.1.8.5 lib/appjam/generators/project/Classes/org/puremvc/objectivec/interfaces/INotifier.h
appjam-0.1.8.4 lib/appjam/generators/project/Classes/org/puremvc/objectivec/interfaces/INotifier.h
appjam-0.1.8.3 lib/appjam/generators/project/Classes/org/puremvc/objectivec/interfaces/INotifier.h
appjam-0.1.8.2 lib/appjam/generators/project/Classes/org/puremvc/objectivec/interfaces/INotifier.h
appjam-0.1.8.1 lib/appjam/generators/project/Classes/org/puremvc/objectivec/interfaces/INotifier.h
appjam-0.1.8 lib/appjam/generators/project/Classes/org/puremvc/objectivec/interfaces/INotifier.h
appjam-0.1.8.pre13 lib/appjam/generators/project/Classes/org/puremvc/objectivec/interfaces/INotifier.h
appjam-0.1.8.pre12 lib/appjam/generators/project/Classes/org/puremvc/objectivec/interfaces/INotifier.h
appjam-0.1.8.pre11 lib/appjam/generators/project/Classes/org/puremvc/objectivec/interfaces/INotifier.h
appjam-0.1.8.pre10 lib/appjam/generators/project/Classes/org/puremvc/objectivec/interfaces/INotifier.h
appjam-0.1.8.pre9 lib/appjam/generators/project/Classes/org/puremvc/objectivec/interfaces/INotifier.h
appjam-0.1.8.pre7 lib/appjam/generators/project/Classes/org/puremvc/objectivec/interfaces/INotifier.h
appjam-0.1.8.pre6 lib/appjam/generators/project/Classes/org/puremvc/objectivec/interfaces/INotifier.h
appjam-0.1.8.pre5 lib/appjam/generators/project/Classes/org/puremvc/objectivec/interfaces/INotifier.h