I have a fundamental question related to Cocoa frameworks design patterns.
What\'s the difference between delegate and data source?
Both of them cou
To make it short:
Delegate relates to the UI and User actions against the cells and table.
common methods: willSelectRow, didSelectRow, willDisplay, heightForRow, willBeginEditingAt
Data Source deals with the editing, population and displaying of data on the tableview.
common methods canEditRowAt, commit, titleForHeaderInSection, cellForRowAt, numberOfSections, sectionIndexTitles