Sha256: 2d5b550423881a2b464af9feb6f728e3ff082bb98d02120b15c214cf53c3983d

Contents?: true

Size: 1.17 KB

Versions: 34

Compression:

Stored size: 1.17 KB

Contents

//
//  Model.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 "IModel.h"

/**
 * A Singleton <code>IModel</code> implementation.
 * 
 * <P>
 * In PureMVC, the <code>Model</code> class provides
 * access to model objects (Proxies) by named lookup. 
 * 
 * <P>
 * The <code>Model</code> assumes these responsibilities:</P>
 * 
 * <UL>
 * <LI>Maintain a cache of <code>IProxy</code> instances.</LI>
 * <LI>Provide methods for registering, retrieving, and removing 
 * <code>IProxy</code> instances.</LI>
 * </UL>
 * 
 * <P>
 * Your application must register <code>IProxy</code> instances 
 * with the <code>Model</code>. Typically, you use an 
 * <code>ICommand</code> to create and register <code>IProxy</code> 
 * instances once the <code>Facade</code> has initialized the Core 
 * actors.</p>
 *
 * @see Proxy, IProxy
 */
@interface Model : NSObject <IModel> {
	NSMutableDictionary *proxyMap;
}

@property(nonatomic, retain) NSMutableDictionary *proxyMap;

-(id)init;
-(void)initializeModel;
+(id<IModel>)getInstance;

@end

Version data entries

34 entries across 34 versions & 1 rubygems

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