Binding UIViewController<*>

40Alpha40Alpha Member ✭✭

Would I bind the following:

(nullable UIViewController<AKFViewController> *)viewControllerForLoginResume;

Like:

// -(UIViewController<AKFViewController> * _Nullable)viewControllerForLoginResume;
        [NullAllowed, Export("viewControllerForLoginResume")]
        ViewController ViewControllerForLoginResume ( );

or

// -(UIViewController<AKFViewController> * _Nullable)viewControllerForLoginResume;
[NullAllowed, Export("viewControllerForLoginResume")]
UIViewController ViewControllerForLoginResume ( );

I do need to present the returned Type to the Window so ideally I could use UIViewController however this is causing some issues with other methods in the binding library. How does one go about handing a UIViewController<*> scenario?

Thanks

Sign In or Register to comment.