mirror of
https://github.com/home-assistant/iOS.git
synced 2026-02-14 23:22:52 -06:00
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.
13 lines
289 B
Swift
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)
|
|
}
|