Overview of PlaydateKit
mainPlaydateKit provides Swift bindings for the Playdate C API. It is designed to be "Swift-y" by:
- Replacing error pointers with throwable functions.
- Avoiding manual pointer management and memory management where possible.
- Providing wrapper types for resources like
Sprite,Bitmap, andFileHandlethat handle automatic allocation and deallocation. - Adding documentation comments to all functions (derived from the Playdate SDK docs).