larsacus / LARSAdController

Lightweight ad mediation for iOS to properly manage multiple ad networks dynamically including iAd and Google ads.
http://theonlylars.com/blog/2013/01/10/stupid-easy-ads-with-larsadcontroller-3-dot-0/
MIT License
269 stars 60 forks source link

Change 'class' parameter name to prevent conflict with c++ reserved word #75

Closed eyeswideopen closed 10 years ago

eyeswideopen commented 10 years ago

The parameter names in the core files named 'class' should be renamed, as this is a reserved name in C++, which makes it impossible to include the project in ObjC++ files/projects.

Example of current function sugnature:

- (void)registerAdClass:(Class)class;

should better be:

- (void)registerAdClass:(Class)someDifferentName;

by the way: great work, even though i haven't been able to test it yet;)