Quote:
Originally Posted by Spokane-Dude
Were you ever able to get Ch 6's example on page 120 created from scratch? (not by taking the downloaded source code). I am trying to follow the instructions and something is missing in the instructions. The generated source from IB is not correct (i.e. does not generate the downloaded code).
Just was wondering if you got that far yet?
|
In MyTableViewCell.cs, make sure you change the MyTableViewClass to inherit from UITableViewCell (and modify the IntPtr and NSCoder versions of the constructor accordingly).
Also, you need to add the following to MyTableViewCell.cs to get the code from the book to work:
Code:
public partial class MyTableViewController : UITableViewController {
public MyTableViewCell MyCell {
get {return Cell;}
set {Cell = value;}
}
}