c++ class with objective-c friend

后端 未结 1 1914
栀梦
栀梦 2021-02-19 16:04

I have an application thats a mix of c++ and objective-c.

Quite a lot of the c++ classes exist merely as facades to access the underlying objective-c object from the res

相关标签:
1条回答
  • 2021-02-19 16:45

    If you must do that you can wrap your Obj-C class in a C++ object that is friended to CMyView. You'd need another level of abstraction between the two classes you have already.

    0 讨论(0)
提交回复
热议问题