Skip to content

Instantly share code, notes, and snippets.

@alexnikol
Created May 23, 2020 16:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexnikol/a8fcd06c29f00aaac531943fb4e41e27 to your computer and use it in GitHub Desktop.
Save alexnikol/a8fcd06c29f00aaac531943fb4e41e27 to your computer and use it in GitHub Desktop.
AppDelegate+GoogleMaps
import UIKit
import GoogleMaps
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
GMSServices.provideAPIKey("YOUR_API_KEY")
return true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment