Created
September 29, 2021 08:15
-
-
Save farhadmpr/fa284f6b704679e599951ff0f02942b7 to your computer and use it in GitHub Desktop.
Ambient Context #2
This file contains hidden or 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
protocol LocationService { | |
//.... | |
func isAuthorized() -> Bool | |
func requestUserLocation(completion: ...) | |
//.... | |
} | |
protocol DateProviderService { | |
//.... | |
var date: Date { get } | |
//.... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment