Sha256: 3ea05d8df4395f98ef02cd2ed8dd76dce284e9e77dbaf87ba7095d0a60974d69

Contents?: true

Size: 682 Bytes

Versions: 2

Compression:

Stored size: 682 Bytes

Contents

//
//  Delete<%= @class_name %>Command.m
//  PureMVC_ObjectiveC
//
//  Created by <%= @developer.capitalize %> on <%= @created_on %>
//  Copyright(c) <%= Time.now.year %>, All rights reserved.
//

#import "Delete<%= @class_name %>Command.h"
#import "<%= @class_name %>Proxy.h"
#import "<%= @class_name %>VO.h"

@implementation Delete<%= @class_name %>Command

-(void)execute:(id<INotification>)notification {
	<%= @class_name %>Proxy *<%= @project_name %>Proxy = (<%= @class_name %>Proxy *)[facade retrieveProxy:[<%= @class_name %>Proxy NAME]];
	<%= @class_name %>VO *<%= @project_name %>VO = [notification body];
	[<%= @project_name %>Proxy delete:<%= @project_name %>VO];
}

@end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
appjam-0.1.2 lib/appjam/generators/project/Classes/contacts/controller/DeleteUserCommand.m.tt
appjam-0.1.1 lib/appjam/generators/project/Classes/contacts/controller/DeleteUserCommand.m.tt