![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Next, to complete the modelviewcontroller illustration, you need to
attach the model to a controller. You attach a controller in the same way
that you attach a dependent part, using a model:
message. As are
dependent parts, the model is placed in a model
instance variable.
The controller does not become part of the list to which update:
messages are sent, however:
Workspace
C := ControllerSubclass new.
C model: M.