Example project showing how to create a custom control (UIView) with XIB so that it's available in Xamarin iOS designer. Custom UIView does not render in storyboard, but can be selected from the toolbox window. If you make rendering in storyboard work, please make a pull request and I will merge it into this repo. The reason to this example project simply is that I was looking for an example like this but could not find something that was working out of the box.
Design custom view in xib using Visual Studio or Xcode (less buggy):
CustomView is visible in Toolbox:
CustomView can be droped into your storyboard:
Simulator run. View can also be resized/rotated during runtime:
Clone and run .sln in Visual Studio.
Visual Studio (Tested on Visual Studio CE 2017)
- Sebastian Nilsson - sebastiannilsson.com
This project is licensed under the MIT License - see the LICENSE.md file for details
- Various forum comments in this thread - Initial work - forums.xamarin.com
Github repo (to download code)