{"id":18271402,"url":"https://github.com/jandrad/AdRootViewController","last_synced_at":"2025-04-05T01:31:32.435Z","repository":{"id":141274560,"uuid":"1341054","full_name":"jandrad/AdRootViewController","owner":"jandrad","description":"RootViewController replacement for Cocos2d that supports iAds and AdMob.","archived":false,"fork":false,"pushed_at":"2011-10-16T02:03:56.000Z","size":6032,"stargazers_count":44,"open_issues_count":0,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-25T06:33:19.741Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jandrad.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.cocos2d","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-02-08T06:41:32.000Z","updated_at":"2022-01-31T19:07:59.000Z","dependencies_parsed_at":"2023-03-13T10:34:33.553Z","dependency_job_id":null,"html_url":"https://github.com/jandrad/AdRootViewController","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jandrad%2FAdRootViewController","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jandrad%2FAdRootViewController/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jandrad%2FAdRootViewController/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jandrad%2FAdRootViewController/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jandrad","download_url":"https://codeload.github.com/jandrad/AdRootViewController/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276043,"owners_count":20912286,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T11:39:16.880Z","updated_at":"2025-04-05T01:31:27.426Z","avatar_url":"https://github.com/jandrad.png","language":"Objective-C","readme":"AdRootViewController\n==================\n\nRootViewController replacement for Cocos2d that supports iAds and AdMob.\n\n\nFeatures\n-------------\n\n   * Two Positions to set the Ads (Top, or Bottom)\n   * Autorotation support, using CCDirector or UIViewController\n   * Universal support (iPhone + iPad)\n   * Interstitial ads (AdMob Only)\n   * Easy to use\n\n\nUsage\n-----------------------\n\nReplace the RootViewController in the Cocos2d project with the AdRootViewController.\n\nDefine your AdMob publisher Id\n\n    #define ADMOB_PUBLISHER_ID @\"your_publisher_id\"\n\nTo add the ad to the controller's view call:\n\n    [viewController addBannerAd];\n\nTo remove the ad call: \n\n    [viewController removeBannerAd];\n\nInterstitial Ads are shown calling:\n\n    [viewController addInterstitialAd];\n\nYou can set the position of the ad at the Top or Bottom of the Screen, just call:\n\n    [viewController setAdBannerPosition:kAdBannerPositionBottom] \n\nor \n\n    [viewController setAdBannerPosition:kAdBannerPositionTop]\n\n\nHope it helps, suggestions and corrections are always welcome.","funding_links":[],"categories":["etc"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjandrad%2FAdRootViewController","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjandrad%2FAdRootViewController","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjandrad%2FAdRootViewController/lists"}