Created
April 18, 2020 08:52
-
-
Save alexnikol/4f658fa6e5d72787dd90b9f48186ad0f to your computer and use it in GitHub Desktop.
Convenient swift typealiases for common use
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
typealias Text = R.string.localizable | |
typealias Image = R.image | |
typealias Color = R.color | |
typealias PlistFetcher = R.file | |
typealias Font = R.font | |
Text.title() | |
Image.alertImage() | |
Color.mainBackground() | |
PlistFetcher.configurationPlist() | |
Font.sfuiDisplayBold(size: 14.0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment