Skip to content

tnantoka/AdFooter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!