How can I add iAd or Google AdMob to a Cocos2D project using Swift? -


i'm in process of finishing game, , know how can integrate iad or google admob cocos2d project have coded in swift. knowledge of objective-c very, vague, wasn't able understand of answers topic exist on stackoverflow.

how can integrate iad or google admob game? know how implement both banner , interstitial ads. (i'm using spritebuilder, if helps answering question.)

if have code want in objective-c, need follow article use them in current project: https://developer.apple.com/library/prerelease/ios/documentation/swift/conceptual/buildingcocoaapps/mixandmatch.html

and 2 cents, think it's better learn objective-c, tho might not going create projects it. of resources still using objective-c many reasons, , bet won't change in next 5 years come. if knew it, can either bridge code or better, port them swift , use them natively. objective-c c, if @ c/c++, won't problem pick quickly.


Comments