Created
September 7, 2016 17:15
-
-
Save chelseatroy/da68ac8b9d9ca8d9825097289cb91d9e to your computer and use it in GitHub Desktop.
View Controller Dependency Injection App Environment
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
class AppEnviroment: NSObject { | |
static let sharedEnvironment = AppEnviroment() | |
let dependableService:DependableService | |
override init() { | |
self.dependableService = DependableService() | |
super.init() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment