Created
May 3, 2016 11:09
-
-
Save cgoldsby/d74ad79e03e2bdc22ffa745590c643a0 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
enum EnumServiceLocator: ServiceLocatorProtocol { | |
case sharedInstance | |
func provideService() -> Service { | |
return Service() | |
} | |
} | |
EnumServiceLocator.sharedInstance.provideService() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment