Callback methods from C to Objective-C

前端 未结 4 1327
伪装坚强ぢ
伪装坚强ぢ 2021-01-21 07:03

I have an Objective-C class. What I am doing is I am calling C functions in my objective-C class [ This C functions I implemented in one file , which is part in this sample ios

4条回答
  •  再見小時候
    2021-01-21 07:07

    You can use blocks. Blocks are available to pure C and C++, a block is also always an Objective-C object.

    C++ Blocks Objects

提交回复
热议问题