Skip to content

Instantly share code, notes, and snippets.

View rwbutler's full-sized avatar

Ross Butler rwbutler

View GitHub Profile
@rwbutler
rwbutler / AppDelegate.swift
Last active January 26, 2022 12:21
OpenConnectivity Usage Example
import OpenCombine
import UIKit
@main
class AppDelegate: UIResponder, UIApplicationDelegate {
private var cancellable: AnyCancellable?
func application(_: UIApplication, didFinishLaunchingWithOptions _: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// ...
let connectivity: ConnectivityService = OpenConnectivityService()