This question is the same as this Missing h-files and Assistant Editor not working because of it (monoTouch/MonoDevelop) but none of the answers work for me. When I double-click the XIB file from monodevelop no header file is created in XCode 4.2, even after I edit the XIB in Xcode and re-save, or when I quit Xcode and monodevelop and re-open. I have expanded every folder in Xcode and there is no ViewController.h file anywhere.
This question is the same as this Missing h-files and Assistant Editor not working
Share
I’ve had this happen quite a few times 🙁 The solution is to manually create the partial class in MonoDevelop, inherit from the UI class you need, and finally add the Register attribute.
Once you do that, and save your code in MonoDevelop it should automatically rebuild the xcode project file for you.