Simple MVC setup / design?

前端 未结 2 626
眼角桃花
眼角桃花 2021-01-15 23:02

I just want to make sure that I am heading in the right direction with how a simple MVC application is constructed.

// MODEL
@interface Reactor: NSObject {
          


        
2条回答
  •  -上瘾入骨i
    2021-01-15 23:51

    You're right the model should store all your bussiness related object and they can be MODIFIED through the controller, the view make calls on the controller depending on the user actions.

提交回复
热议问题