Skip to content

Xcode extension that converts UIColor, NSColor, UIImage to literal

License

Notifications You must be signed in to change notification settings

Igor-Palaguta/LiteralsExtension

Repository files navigation

Literals Extension

This Xcode Source Code Extension generates Color and Image Literals

Usage

Select code with colors or images that should be converted to literals. If nothing selected, whole file is converted

Demo

Installation

  1. Open Literals.xcodeproj
  2. Enable target signing for both the Application and the Source Code Extension using your own developer ID
  3. Product > Archive
  4. Right click archive > Show in Finder
  5. Right click archive > Show Package Contents
  6. Open Products, Applications
  7. Drag Literals.app to your Applications folder
  8. Run Literals.app and exit again.
  9. Go to System Preferences -> Extensions -> Xcode Source Editor and enable the extension
  10. The menu-item should now be available from Xcode's Editor menu.

About

Xcode extension that converts UIColor, NSColor, UIImage to literal

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages