Home Features Docs Blog Support GitHub

Moe-main-interface.m lifecycle


(Sachin) #1

Hi,

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

//moe-main-interfaces.m
   @class CustomViewMainController;
//other code
        @interface CustomViewMainController : UIViewController
        @end

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?