Earlier this week I mentioned a tool designed to automatically make sure your code and storyboards stay in sync called StoryboardLint.
Here’s a set of tools from Square designed to solve issues that can come up when using the Xcode storyboards tool and asset manager along with a tool allowing you to load palettes created with the Mac OS X color picker in storyboards called objc-codegenutils.
The three tools included within objc-codegenutils includes:
1. objc-colordump: A tool that allows you to extract a color palette set within the Mac OS X color picker into a source code file with easy access to the colors within that you can use anywhere in your code.
2. objc-assetgen: Takes the JSON metadata created by the asset manager and generates code providing you with the benefits of the asset manager but without the issues that can occur when changing asset names.
3. objc-identifierconstants: Takes the string identifiers in your storyboards and generates code with compiler-checked constants so you don’t have to worry about any failures at runtime caused by incorrect string literals.
You can find Objc-CodegenUtils on Github here.
You can read more details about the tools over on the Square Engineering blog.
A nice set of tools to prevent issues that can occur when using the storyboard and asset manager tools.
Submit A Resource
Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?
You can submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.