FROM : Karin Kosina
DATE : Thu Oct 07 15:25:57 2004
On Thu, 7 Oct 2004 15:17:48 +0200, Rolf Nilsson <<email_removed>> wrote:
> My problem is how to call an Obj-C method from a C++ class.
Objective-C++ is your friend. :)
Rename your .cpp file to .mm, and simply do the usual magic:
[m_pMyControllerCocoaObj aCocoaMethodWithTwoArguments:foo
anIntValue:bar];
Or did I misunderstand what you're trying to do?
--
We are Elektropeople for a better living.
Karin Kosina, KSC (vka kyrah)
http://kyrah.net
DATE : Thu Oct 07 15:25:57 2004
On Thu, 7 Oct 2004 15:17:48 +0200, Rolf Nilsson <<email_removed>> wrote:
> My problem is how to call an Obj-C method from a C++ class.
Objective-C++ is your friend. :)
Rename your .cpp file to .mm, and simply do the usual magic:
[m_pMyControllerCocoaObj aCocoaMethodWithTwoArguments:foo
anIntValue:bar];
Or did I misunderstand what you're trying to do?
--
We are Elektropeople for a better living.
Karin Kosina, KSC (vka kyrah)
http://kyrah.net
| Related mails | Author | Date |
|---|---|---|
| Rolf Nilsson | Oct 7, 15:17 | |
| Karin Kosina | Oct 7, 15:25 | |
| Roni Music | Oct 7, 16:18 |






Cocoa mail archive

