Sha256: 98f6743bd787d8c143247f07a1fa547815cd692ab22321e1d28e5cc8603f9198
Contents?: true
Size: 1.27 KB
Versions: 34
Compression:
Stored size: 1.27 KB
Contents
// // Notifier.h // PureMVC_ObjectiveC // // PureMVC Port to ObjectiveC by Brian Knorr <brian.knorr@puremvc.org> // PureMVC - Copyright(c) 2006-2008 Futurescale, Inc., Some rights reserved. // #import <Foundation/Foundation.h> #import "INotifier.h" #import "IFacade.h" /** * A Base <code>INotifier</code> implementation. * * <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, 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 Facade, Mediator, Proxy, SimpleCommand, MacroCommand */ @interface Notifier : NSObject <INotifier> { id<IFacade> facade; } @property(nonatomic, retain) id<IFacade> facade; @end
Version data entries
34 entries across 34 versions & 1 rubygems