Replacing Photoshop With NSString
This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).
ASCIImage is an open-source iOS/Mac library that lets developers generate UIImage/NSImage assets directly from ASCII art strings in code, eliminating the need for external image editors for simple icons. Instead of writing verbose Core Graphics drawing code, developers define shapes using sequential characters in a grid string — the library parses these into NSBezierPath shapes using a 'connect the dots' approach. It supports filled shapes, lines, ellipses, anti-aliasing control, and layered rendering via a block-based API. The post covers the library's usage, internals, and implementation tricky bits like pixel alignment, aliased line widths, and cross-platform scale handling between iOS and OS X.