PaintCode
Turn your drawings into Objective-C or Swift drawing code·paintcodeapp.com
PaintCode is a vector drawing app for macOS that turns drawings into Objective-C, Swift, Java, C#, JavaScript, or SVG code in real time. It acts as a bridge between developers and graphic designers, letting users import PDF, SVG, PSD, AI and EPS files and export resolution-independent, parametric drawing code as a StyleKit. The generated code can be used in iOS, macOS, Android, and web projects.
What it's for
Features 15
- Android Java code generation
- Expression functions: log(x), log2(x), log10(x), pow(x,y)
- Generates Objective-C, Swift, Java, C#, JavaScript, or SVG code from vector drawings
- Import PDF, SVG, PSD, AI and EPS documents
- Improved SVG import/export with CSS compatibility
- JavaScript export for <canvas> elements
- Opacity and blend mode control for all shapes
- Parametric drawings using variables and expressions
- Preview window with big-picture view
- QuickLook plugin for previewing documents without launching the app
- Resizing drawing methods (aspect fit, aspect fill, stretch, center)
- Resolution-independent drawing code (avoids @1x/@2x/@3x)
- StyleKit export combining drawings into a single code file
- Swift 3, 4, 5 support with faster compilation
- Telekinesis real-time design updates in a running app
At a glance
Integrations
Resources
Pricing
No numeric prices are publicly listed; the site only offers 'Choose license' and 'Buy Now' options. Trial version restrictions: 5 days of actual use, code generation limited to 3 canvases. A separate PaintCode Plugin for Sketch has a 7-day trial.