ibcolortool

List all colors in Storyboards and XIB files

78
1
Swift

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)