< IModel > Protocol Reference
#import <IModel.h>
Inherited by Model.
List of all members.
Detailed Description
The interface definition for a PureMVC 
Model.
In PureMVC, IModel implementors provide access to IProxy objects by named lookup. 
An IModel assumes these responsibilities:
- 
Maintain a cache of IProxyinstances
- 
Provide methods for registering, retrieving, and removing IProxyinstances
Member Function Documentation
      
        
          | - (BOOL) hasProxy: |  | (NSString *) | proxyName |  |  | 
      
 
Check if a Proxy is registered
- Parameters:
- 
  
- Returns:
- whether a Proxy is currently registered with the given proxyName.
Reimplemented in Model.
 
 
      
        
          | - (void) registerProxy: |  | (id< IProxy >) | proxy |  |  | 
      
 
Register an IProxy instance with the Model.
- Parameters:
- 
  
    |  | proxy | an object reference to be held by the Model. |  
 
Reimplemented in Model.
 
 
      
        
          | - (id<IProxy>) removeProxy: |  | (NSString *) | proxyName |  |  | 
      
 
Remove an IProxy instance from the Model.
- Parameters:
- 
  
    |  | proxyName | name of the IProxyinstance to be removed. |  
 
- Returns:
- the IProxythat was removed from theModel
Reimplemented in Model.
 
 
      
        
          | - (id<IProxy>) retrieveProxy: |  | (NSString *) | proxyName |  |  | 
      
 
Retrieve an IProxy instance from the Model.
- Parameters:
- 
  
- Returns:
- the IProxyinstance previously registered with the givenproxyName.
Reimplemented in Model.