I will like to do some kind of forwarding in my mixed C++/ObjC project.
My logic is in C++, and I want to provide a method that belongs to a C++ object instance as a selector to objC. Is there anyway to do this?
Mainly the question is, Is there anyway to fake a C++ method into a selector :), to give it to ObjC and let it be called back?.
Thanks in advance, Anoide.
It is impossible to get a selector for a C++ method as these are not managed by the Objective-C runtime. You can, however:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With