Setting up an independent delegate?

Posted by fuzzygoat on Stack Overflow See other posts from Stack Overflow or by fuzzygoat
Published on 2010-05-07T15:45:48Z Indexed on 2010/05/07 15:48 UTC
Read the original article Hit count: 86

Filed under:
|
|

Its common for the dataSource and delegate to be the same object, its also common for this object to be the viewController.

In all the info/tutorials that I have seen online delegates are always setup as above. If I wanted to create my own class instead can anyone give me any pointers as to how I might do that. Where does that object get instantiated, how do you connect the dataSource and delegate items etc. I am using UITableView to test this.

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about cocoa-touch