How to make a derived UITableVIew work
Posted
by justinhj
on Stack Overflow
See other posts from Stack Overflow
or by justinhj
Published on 2010-06-02T00:30:04Z
Indexed on
2010/06/02
0:33 UTC
Read the original article
Hit count: 285
iphone
|uitableview
I've made a new class in my Xcode project which is derived from UITableView
I then drag a UITableView from in the interface builder onto my view and change the class of the object to my derived class. Then I drag the outlet from the table to the files owner and hook it up to an outlet variable in my main view, which is of the same type as my derived class.
How do I also set up the datasource and delegate so that they belong to the derived class?
© Stack Overflow or respective owner