Moe-main-interface.m lifecycle


I’m trying to connect ViewController that i refer in my storyboard to Java class that i have in my java implementation.

   @class CustomViewMainController;
//other code
        @interface CustomViewMainController : UIViewController

when i try to add CustomViewMainController class to my moe-main-interface.m and compile, its deleting the new controller reference that i added.
For the implementation i’m referring to calculator and elements sample code, they have the similar process of binding.
what is the right way to add storyboard viewcontroller reference so i can connect it to my moe-java code?