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
Model
instance.Declaration
Swift
func initializeModel()
-
Check if a Proxy is registered
Declaration
Swift
func hasProxy(_ proxyName: String) -> Bool
Parameters
proxyName
Return Value
whether a Proxy is currently registered with the given
proxyName
.