问题
I am developping an iOS application and I would like to create a pointer that refers to a view in my swift code.
Currently I have this in my Objective C file :
MyViewController *viewController=[MyViewController new];
In my MyViewController.swift I have an UIView field in which I want to display something that I handle in my Objective C file.
For the time being it doesn't work and I have the impression I misunderstood something...
Does my current pointer refers to a specific instance of MyViewController or does it refers to the class ?
(This question follows my previous question : How to integrate pjsip video in iOS? )
Thanks
来源:https://stackoverflow.com/questions/44932722/how-to-create-a-pointer-in-objective-c-to-swift