Skip to content

Instantly share code, notes, and snippets.

View SwiftfulThinking's full-sized avatar
🤙

Nick Sarno SwiftfulThinking

🤙
View GitHub Profile
@SwiftfulThinking
SwiftfulThinking / SignInWithGoogleHelper.swift
Last active February 17, 2024 00:25
Sign In With Google for iOS (async support)
//
//
//
//
//
//
// *****************************
// * THIS GIST HAS BEEN DEPRECATED. USE CODE HERE:
// https://github.com/SwiftfulThinking/SwiftfulFirebaseAuth/blob/main/Sources/SwiftfulFirebaseAuth/Helpers/SignInWithGoogle.swift
// *****************************
@SwiftfulThinking
SwiftfulThinking / SignInWithAppleHelper.swift
Last active December 2, 2023 16:23
Sign In With Apple for iOS (async support)
//
//
//
//
//
//
// *****************************
// * THIS GIST HAS BEEN DEPRECATED. USE CODE HERE:
// https://github.com/SwiftfulThinking/SwiftfulFirebaseAuth/blob/main/Sources/SwiftfulFirebaseAuth/Helpers/SignInWithApple.swift
// *****************************
@SwiftfulThinking
SwiftfulThinking / LocalNotifications.swift
Created January 2, 2023 20:57
Local Push Notifications for iOS (incl. convenience methods and async support)
import Foundation
import UIKit
import UserNotifications
import CoreLocation
enum NotificationTriggerOption {
case date(date: Date, repeats: Bool)
case time(timeInterval: TimeInterval, repeats: Bool)
case location(coordinates: CLLocationCoordinate2D, radius: CLLocationDistance, notifyOnEntry: Bool, notifyOnExit: Bool, repeats: Bool)