ovaltine icon indicating copy to clipboard operation
ovaltine copied to clipboard

The chocolatey treat which makes your Cocoa UI code clean!

Ovaltine Build Status

The chocolatey treat which makes your code clean! Yum!

Ovaltine scans your storyboard files and generates constant files for view controller, segue, and reuse identifiers. For instance, if you have a storyboard called Main and a view controller with the Storyboard ID authenticationViewController, then you can instantiate that controller with something like [ABCMainStoryboard instantiateAuthenticationViewController]. No mistyping, plenty of chocolatey goodness.

Installation

gem install ovaltine

Example Usage

ovaltine --prefix ABC --auto-replace --auto-add path/to/project/files

Run from the command line or as a build step (if you are brave!) Here are some example files generated using ovaltine.

Additional Documentation

ovaltine --help

Development

Ovaltine is tested using bacon. After running bundle install, the tests can be run using the command rake spec.