Sha256: 861aeee079d740a6e0678da92705200511dbacd502d0df9e0216ca79e7aa3df8
Contents?: true
Size: 870 Bytes
Versions: 30
Compression:
Stored size: 870 Bytes
Contents
// // SimpleCommand.m // PureMVC_ObjectiveC // // PureMVC Port to ObjectiveC by Brian Knorr <brian.knorr@puremvc.org> // PureMVC - Copyright(c) 2006-2008 Futurescale, Inc., Some rights reserved. // #import "SimpleCommand.h" @implementation SimpleCommand /** * Static Convenience Constructor. */ +(id)command { return [[[self alloc] init] autorelease]; } /** * Fulfill the use-case initiated by the given <code>INotification</code>. * * <P> * In the Command Pattern, an application use-case typically * begins with some <%= @project_name %> action, which results in an <code>INotification</code> being broadcast, which * is handled by business logic in the <code>execute</code> method of an * <code>ICommand</code>.</P> * * @param notification the <code>INotification</code> to handle. */ -(void)execute:(id<INotification>)notification {} @end
Version data entries
30 entries across 30 versions & 1 rubygems