Sha256: e269774cf76c8abf24e039d1df750e5768ed8d89e89d1f037e89b8668f5317f9
Contents?: true
Size: 919 Bytes
Versions: 4
Compression:
Stored size: 919 Bytes
Contents
// // ApplicationFacade.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 "ApplicationFacade.h" #import "StartupCommand.h" #import "CreateUserCommand.h" #import "UpdateUserCommand.h" #import "GetUsersCommand.h" @implementation ApplicationFacade -(void)startup:(id)app { [self sendNotification:Startup body:app]; } +(ApplicationFacade *)getInstance { return (ApplicationFacade *)[super getInstance]; } -(void)initializeController { [super initializeController]; [self registerCommand:Startup commandClassRef:[StartupCommand class]]; [self registerCommand:CreateUser commandClassRef:[CreateUserCommand class]]; [self registerCommand:UpdateUser commandClassRef:[UpdateUserCommand class]]; [self registerCommand:GetUsers commandClassRef:[GetUsersCommand class]]; } @end
Version data entries
4 entries across 4 versions & 1 rubygems