Fork me on GitHub

Alex Rupérez

Link: https://j.mp/3bLN4qH
Published: 02 Apr 21:29
I starred NSHipster/ibcolortool at GitHub.
List all colors in Storyboards and XIB files
View on GitHub


View README


ibcolortool

Lists all of the colors used in Storyboards and XIB files.

Usage

$ ibcolortool path/to/View.xib path/to/Scene.storyboard
UIColor(red: 1.0, green: 0.5763723, blue: 0.0, alpha: 1.0)
UIColor(white: 0.0, alpha: 1.0)
UIColor(named: "Living Coral")
UIColor.groupTableViewBackgroundColor

Requirements

  • Xcode 11+
  • Swift 5.1+

Installation

Homebrew

Run the following command to install using homebrew:

$ brew install nshipster/formulae/ibcolortool

Manually

Run the following commands to build and install manually:

$ git clone https://github.com/NSHipster/ibcolortool.git
$ cd ibcolortool
$ make install

License

MIT

Contact

Mattt (@mattt)