Created
September 25, 2020 16:21
-
-
Save giovani-pereira-ifood/96875cd0f3905bf7a70d9b02485c5f68 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 Icon { | |
func callAsFunction(color: UIColor = .black) -> IconView { | |
IconView(icon: self, color: color) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment