Created
October 16, 2017 16:30
-
-
Save pjwelcome/60ba19dc3eaf470104168bc8fc78a4a7 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
protocol ProductsRepositoryInjectable { | |
var products : ProductsRepository {get} | |
} | |
extension ProductsRepositoryInjectable { | |
var products : ProductsRepository { | |
return ProductsRepositoryImplementation() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment