I have a fundamental question related to Cocoa frameworks design patterns.
What\'s the difference between delegate and data source?
Both of them cou
From my point of view, a DataSource is an object that doesn't know where the data is, and thus you should provide it. Such as telling an object how many items in a column.
A Delegate, which is a part that object shows to you, must be implemented by your class, because the object knows where the data is, but it does not know how to use it correctly.