I have an iPad application that has a main ViewController and its main view as usual, but I have a number of overlays (implemented as separate views). I want all of these views to be controlled/owned by the main view controller.
The set of overlay views are packed into a single XIB (only for IB designing purpose, no code behind) and are loaded manually from the main view controller and casted to the appropriate View class for each of them, implemented as separate .cs file for each.
Everything works fine, but because in the views XIB the owner is set to the main ViewController class (in order to generate the designer code for the events, outlets) it also generates a Register attribute for the main view controller class, which colides with the same register attribute already generated in the main view controller XIB designer file.
My question is: Is there a way to prevent MonoTouch/IB from auto-generating the Register attribute for the views XIB?
Thanks, Pedro
I'm using XCode/IB 3.2.6, MonoTouch 4.0.5, MonoDevelop 2.4.2, MonoFramework 2.10.4