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

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