Last active
October 30, 2017 19:41
-
-
Save soxjke/4c38ab6ea8f0190966a7d17789248f0a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
enum AppEvent { | |
case locationPermissionResult(success: Bool) | |
case locationRequest | |
case locationResult(latitude: Double, longitude: Double, timestamp: TimeInterval, error: Error?) | |
case geopositionRequest | |
case geopositionResult(geoposition: Geoposition, error: Error?) | |
case weatherRequest | |
case weatherResult(current: Weather, forecast: [Weather], error: Error?) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment