Sunday, September 29, 2013

Pure C code, how to call a method in Object-C?

If that.
1, OBJC call C functions very easily.
2, C how callback OBJC? How to OBJC class pointer to C?
Reply:
Same, the objc object passed as a parameter of type pointer to c function like
Reply:
quote 1 floor darkdong reply:
same, the objc object passed as a parameter of type pointer to c function like

C source file is not recognized objc object pointer, if the header files into objc bunch of errors occur.
Reply:
cited two floor M_ChangGong reply:
quote 1 floor darkdong response: the same, the objc object passed as a parameter of type pointer to c function like
C source file is not recognized objc object pointer, if the header files into objc bunch of errors occur.

In the. M write c function
Reply:
3rd floor darkdong reply quote:
2F M_ChangGong reply quote: quote 1 floor darkdong response: the same, the objc object as a parameter of type pointer c function like
passedC source file is not recognized objc object pointer, if the header files into objc bunch of errors occur.
In the. M write c function

Try, now C code in a static library are. C file.

No comments:

Post a Comment