Integration with Admob

Hi all,

How can I do to wrap the cocos2d-x cpp code to call a obj-c Admob code?
Thanks.

I think you should research “Admob” in upper right before asking the question.

Yes. I did.
A very nice article for cocos2d-x + admob for Android from this link: http://www.cocos2d-x.org/boards/6/topics/5119
Also, someone in this thread (http://www.cocos2d-x.org/boards/7/topics/2017?r=2058#message-2058) mention “It’s easier on iOS, please reference to CocosDenshion, you can learn how to wrap objc interfaces to c*+ in it.”
Then, I have searched internet and still no idea how to wrap objc interface to cocos2d-x cpp.
Sorry that I am very new for objc but have some background in C*+.

Could you mind share some example how I can make it? Thanks.

You can refer CocosDenshion/include/SimpleAudioEngine.h and CocosDenshion/iphone/SimpleAudioEngine.mm.
You can invoke objc and c++ by rename the file to xxx.mm.