IModel
public protocol IModel
The interface definition for a PureMVC Model.
In PureMVC, IModel implementors provide
access to IProxy objects by named lookup.
An IModel assumes these responsibilities:
-
Initialize the
Modelinstance.Declaration
Swift
func initializeModel() -
Check if a Proxy is registered
Declaration
Swift
func hasProxy(_ proxyName: String) -> BoolParameters
proxyNameReturn Value
whether a Proxy is currently registered with the given
proxyName.
IModel Protocol Reference