Created
January 14, 2021 02:57
-
-
Save azamsharp/3b4ef7192cd696624c8142e01f6c842b to your computer and use it in GitHub Desktop.
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
extension View { | |
func toAnyView() -> AnyView { | |
return AnyView(self) | |
} | |
} | |
enum Route { | |
case detail(String) | |
case aboutUs | |
case addCountry | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment