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

Using LARSAdController in non-arc project #81

Closed acyildirimer closed 10 years ago

acyildirimer commented 10 years ago

In order to avoid memory leaks what changes should I make in LARSAdController 3.0? As a C++ programmer I don't know about arc concept.

larsacus commented 10 years ago

I highly recommend using ARC. Learn the manual memory-management principles so that you have an idea of what ARC is doing for you.

That being said, if you would like to use an ARC file in a non-ARC environment, you can set the -fobjc-arc flag in your build settings for LARSAdController. If you are using CocoaPods, you will not have to do anything.