On Dec 30, 2005, at 11:26 PM, James Harkins wrote:
"the gui objects should set the state of some model where the values are actually kept. it is the model that you should save. when you reload or switch models, then they should tell the gui to go set themselves. its a mistake to think about the gui objects as being your art / music and that you wish to save them. they are just views." So in terms of archiving, you should be saving the models, and the models know how to reconstruct the views.
the models shouldn't ever make the views. they should be pure data and methods to support that data or do things with that data (like make music).
in the crucial lib the models only refer to a gui class. this gui class is a controller, which creates SCViews. the views actions set values on the models. the controller (gui class) is a dependent of the model, and when the model changes the controller gets an update and updates any relevant views.
-f