Skip to content

Instantly share code, notes, and snippets.

@alexnikol
Created April 18, 2020 08:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexnikol/4f658fa6e5d72787dd90b9f48186ad0f to your computer and use it in GitHub Desktop.
Save alexnikol/4f658fa6e5d72787dd90b9f48186ad0f to your computer and use it in GitHub Desktop.
Convenient swift typealiases for common use
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