Skip to content

Instantly share code, notes, and snippets.

View grantkemp's full-sized avatar

Grant Kemp grantkemp

View GitHub Profile
@grantkemp
grantkemp / AppDelegate.swift
Created March 29, 2021 22:45 — forked from liorkup/AppDelegate.swift
Glootie snippets
import Firebase
...
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
...
FirebaseApp.configure()
if !UserDefaults.standard.bool(forKey: "launchedBefore")
{
UserDefaults.standard.set(true, forKey: "launchedBefore")
GoogleAdsACService.app.adToAction(processAction: processActionExample)
@grantkemp
grantkemp / AF Adding support for Common http errors:
Created February 12, 2017 23:36
Adding support for common error status codes like 404, 403 to the responseJson serializer in Alamofire.
// Adding support for common error status codes like 404, 403 to the responseJson serializer in Alamofire.
//
// AlamofireAuto.swift
// Speedy
//
// Created by Grant Kemp on 12/02/2017.
// Copyright © 2017 Grant Kemp. All rights reserved.
//