Created
August 25, 2020 01:28
-
-
Save soujohnreis/c0c84d1aaa2365f3eaa0963a0c80297c 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 ViewCodeProtocol { | |
func buildViewHierarchy() | |
func buildConstraints() | |
func buildAdditionalConfiguration() | |
func build() | |
} | |
extension ViewCodeProtocol { | |
func build() { | |
self.buildViewHierarchy() | |
self.buildConstraints() | |
self.buildAdditionalConfiguration() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment