I’m implementing a datasource object for an UIScrollView. Is that part of the Controller, or part of the Model? I think Controller, but not sure. It delivers the data. But the data could be in sqlite3, files, from the net. So actually I would say it’s not from the Data part, since it should be flexible to from where the data comes. What do you think?
I’m implementing a datasource object for an UIScrollView. Is that part of the Controller,
Share
The data source for any visual control should be your controller. Your controller should get/process the data from the Model and then hand it off to the view.