Skip to content

Sprite Additions

A UIImage category for handling sprite sheets — extract individual frames from a texture atlas with ease.

A UIImage category I built and open-sourced that simplifies working with sprite sheets (texture atlases) on iOS. It provides a clean API for extracting individual frames from a sprite sheet, making it easy to create frame-based animations without external dependencies.

The library was one of the early Objective-C sprite sheet utilities available on GitHub, created during the era when iOS game and animation development relied heavily on manual sprite sheet management.

Available via CocoaPods, the category provides two methods — extracting all sprites from a sheet, or extracting a specific range. The result is an array of UIImage objects ready for UIImageView frame animation.

Sprite Additions demo — explosion sprite sheet animation

Demo showing sprite sheet extraction — an explosion animation built from individual frames.

View on GitHub