iOS/Sources/App/ZoneManager/ZoneManagerState.swift
Zac West 640cca884b
Add SwiftFormat to project (#1463)
Adds new fastlane lanes:
- `fastlane lint` which checks the linters
- `fastlane autocorrect` which applies the linters which can autocorrect (Rubocop, SwiftFormat)

Adds a build step to the Codegen abstract target which runs SwiftFormat in lint mode, pointing out what it's going to change when run.

Applies SwiftFormat to nearly all code -- exempts a few externally-sourced files and generated code.
2021-02-05 22:06:25 -08:00

13 lines
289 B
Swift

import CoreLocation
import Foundation
import Shared
enum ZoneManagerState {
case initialize
case didReceive(ZoneManagerEvent)
case didIgnore(ZoneManagerEvent, Error)
case didError(Error)
case didFailMonitoring(CLRegion?, Error)
case didStartMonitoring(CLRegion)
}