How should I correctly reference protocols on a UML class diagram?
For example my ListViewController
conforms to the UITableViewDataSource
and UITableViewDelegate
protocols... where do I put the cellForRowAtIndexPath
or numberOfRowsInSection
methods? ... in ListViewController
where they are implemented or in something like this:
<<Protocol>>
UITableViewDataSource
---------------------
---------------------
-numberOfRowsInSection
If I did the latter what would be the association between the ListViewController
class and the protocol box be? All I have to show is how I hook into Cocoa Touch some how.
Thanks.