How to create a UIView with Xib in MonoTouch

I am trying to create a custom UITableViewCell using XIB using MonoTouch / MonoDevelop.

When I select File -> New -> File -> MonoTouch -> iPhone View, I get a Xib file, but not its associated UIView class.

I can create the presentation class separately, but how can I get the designer.cs file associated with it and include it all so that the integration between MonoDevelop and Xcode works to configure roles and actions?

What am I missing?

+3
source share
1 answer

Before opening XIB in Xcode, you must decorate your UITableViewCell class with the RegisterAttribute attribute.

Mark this answer.

+2
source

All Articles