I am working with a storyboard, and would like to regenerate the .designer.cs for a custom ViewController to reflect new custom classes I have created for the UITextFields since the custom ViewController was initially defined. I have already edited the storyboard to use the new custom UITextField class ("MyTextField"), but now the .designer.cs file is out of date, showing these Outlets as UITextFields instead of MyTextFields.
This is what I tried:
1) Removed the .designer.cs file from the project
2) Deleted the .designer.cs file and ios/obj folder from the disk.
3) Opened the custom ViewController class in Xamarin Studio.
4) Launched XCode with the storyboard.
5) Clicked on the controls in the custom ViewController, and turned on the Assistant Editor view.
“No Assistant Results” shows in XCode’s Assistant Editor, where I was expecting the custom ViewController.h file to be. What else should I be doing? How can I force Xamarin Studio to regenerate a .designer.cs file that is in sync with the current storyboard file?
Xamarin Studio Version: 4.0.12
Xamarin.iOS Version: 126.96.36.199
XCode Version: 4.6.3