Hacker News new | ask | show | jobs
by jcampbell1 4774 days ago
If you use PaintCode, you get CoreGraphics c code output. If you deliver your designs to a developer in CG code, their jaw will drop.
2 comments

Note this can be slower to render than a bitmap equivalent. I tend to avoid drawing code unless it's a dynamic animation, such as a waveform.
what's the point, exactly, to doing this (serious question)
Things like:

  * Scalability - you can resize a button and get the correct look
  * Simplicity - you don't need to create 1x and 2x resources
Downsides are that it can be slow and it muddies up your code base.