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
  • 44,114
  • 19
  • 59
  • 88

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,170
  • 1
  • 27
  • 31