Skip to content

Latest commit

 

History

History
65 lines (42 loc) · 1.66 KB

README.md

File metadata and controls

65 lines (42 loc) · 1.66 KB

AdFooter

Version License Platform

Moved to GitLab

Moved to GitLab as it reached file size limit.
https://gitlab.com/tnantoka/adfooter

Usage

func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
    window = UIWindow(frame: UIScreen.main.bounds)
    let navController = UINavigationController(rootViewController: ViewController())

    AdFooter.shared.adMobApplicationId = "ADMOB_APPLICATION_ID"
    AdFooter.shared.adMobAdUnitId = "ADMOB_AD_UNIT_ID"
    window?.rootViewController = AdFooter.shared.wrap(navController)

    window?.makeKeyAndVisible()
    return true
}

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

  • AdMob's Ad unit ID

Installation

AdFooter is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'AdFooter'

Carthage

github "tnantoka/AdFooter"

AddFooter on App Store

Author

tnantoka

Acknowledgement

https://github.com/chrisjp/CJPAdController

License

AdFooter is available under the MIT license. See the LICENSE file for more info. GoogleMobileAds.framework has its own license!