Game Development Community

How to passing "self" from objc to C++ section in TGBAppDelegate

by Edoardo · in iTorque 2D · 10/25/2010 (10:01 am) · 1 replies

I am at work to resolve the movieplayer issue (iOS 4.0 incompatibility), but I'm not expert in objc.
I need to pass "self" from TGBAppDelegate to the C++ section (in the same file mm). How can I resolve this?

#1
10/25/2010 (1:15 pm)
Just pass it :)
though normally you don't need to because self is the ObjC counterpart to this in C++ which is the current object instance.
this is likely also the object you want and will need to specify as delegate for the AV handling etc