3

I'm trying to create a custom UITableViewCell with a XIB using MonoTouch/MonoDevelop.

When I choose File -> New -> File -> MonoTouch -> iPhone View, I get the Xib file but no associated UIView class.

I can create the view class separately, but then how do I get the associated designer.cs file and get it all wired up so that the integration between MonoDevelop and XCode works for setting up outlets and actions?

What am I missing?

Brad Robinson
  • 40,427
  • 18
  • 57
  • 86

1 Answers1

2

You have to decorate your UITableViewCell class with the RegisterAttribute before opening the XIB in Xcode.

Check this answer.

Community
  • 1
  • 1
Dimitris Tavlikos
  • 8,158
  • 1
  • 26
  • 31