#import <Model.h>
Inherits IModel-p.
Public Member Functions | |
| (id) | - init |
| (void) | - initializeModel |
| (BOOL) | - hasProxy: [implementation] |
| (void) | - registerProxy: [implementation] |
| (id< IProxy >) | - removeProxy: [implementation] |
| (id< IProxy >) | - retrieveProxy: [implementation] |
Static Public Member Functions | |
| (id< IModel >) | + getInstance |
IModel implementation.
In PureMVC, the Model class provides access to model objects (Proxies) by named lookup.
The Model assumes these responsibilities:
IProxy instances. IProxy instances.
Your application must register IProxy instances with the Model. Typically, you use an ICommand to create and register IProxy instances once the Facade has initialized the Core actors.
| - (BOOL) hasProxy: | (NSString *) | proxyName | [implementation] |
Check if a Proxy is registered
| proxyName |
proxyName. Reimplemented from < IModel >.
| - (id) init |
| - (void) initializeModel |
Initialize the Singleton Model instance.
Called automatically by the constructor, this is your opportunity to initialize the Singleton instance in your subclass without overriding the constructor.
| - (void) registerProxy: | (id<IProxy>) | proxy | [implementation] |
| - (id< IProxy >) removeProxy: | (NSString *) | proxyName | [implementation] |
| - (id< IProxy >) retrieveProxy: | (NSString *) | proxyName | [implementation] |
Retrieve an IProxy from the Model.
| proxyName |
IProxy instance previously registered with the given proxyName. Reimplemented from < IModel >.
1.5.7.1