Let's create a simple single view application Create a new Xcode project Choose a template for your new project -> select "Single View Application" -> Next Fill your product name and choose Language : Swift Build and run your new project, the app will show a blank screen. Let's add AdMob SDK into your application Note: CocoaPods is the dependency manager for Swift and Objective-C We will install AdMob SDK by using CocoaPods. There are 2 steps for the installation. 1.Create the Podfile (in the same directory as the example.xcodeproj) File name : Podfile File contents : source 'https://github.com/CocoaPods/Specs.git' platform :ios, '7.0' pod 'Google-Mobile-Ads-SDK', '~> 7.0' 2.Install AdMob SDK by using Podfile Close all projects Open terminal Go to directory which has Podfile Run pod install Let's make a simple banner in your application 1.Open up file "example.x...
Have you ever wanted to use the exact same codebase for both a free version and a paid version of your iOS app? Does your client have both a development and a production server that the same code needs to talk to? Do you need to create an internal ad-hoc build of your app for testers on your team? If you have ever answered “yes” to any of these questions, it sounds like you need a custom build scheme. I wish I had discovered the awesomeness that is the Xcode build scheme sooner. As a developer, they give you the ability to deliver different versions of the same code with small tweaks for different environments. Once you learn how to use them, you will love them too. With custom build schemes, you can Write code that only runs on the free version of your app, allowing you to show ads or offer in-app purchases without duplicating targets or project files. Flick a switch to deliver a build that talks to the production server after testing your app in a development environme...
Last updated 2016-01-18 # Name Watchers Count Change Description 1 CoreDragon 42 Stop using context menus. Drag and drop instead, even between apps! 2 React 33 Build high quality mobile apps using React. 3 SwiftFlow 32 Unidirectional Data Flow in Swift 4 SAConfettiView 32 Confetti! Who doesn't like confetti?' 5 TYPFontAwesome 31 The iconic font designed for Bootstrap. Contains only the official font files directly from Font Awesome. 6 Changeset 31 Minimal edits from one collection to another 7 ElasticTransition 29 A UIKit custom modal transition that simulates an elastic drag. Written in Swift. 8 TransitionTreasury 26 Easier way to push your viewController. 9 StatefulViewController 24 Placeholder views based on content, loading, error or empty states 10 Alamofire 22 Elegant HTTP Networking in Swift 11 PageMenu 21 A paging menu controller built from other view controllers allowing the user to switch between any kind of view controller. 12 SwiftyDB 19 Making SQLit...
Comments
Post a Comment