In MVC where do you put references to your model Classes?

前端 未结 5 1760
野的像风
野的像风 2021-02-04 06:33

I have been wondering for a while, after asking different people and without any of them providing what I would call an \"at least a bit concrete answer\":

Quest

5条回答
  •  佛祖请我去吃肉
    2021-02-04 07:23

    Traditionally the controller creates the Model and then initialises the View with that model. The controller then listens to changes in the model and view and coordinates the flow of the program through this. That would be my generic answer, maybe things in practice would be different for iPhone development.

提交回复
热议问题