/Sketch-Internals

A collection of class-dumps for Sketch Plugin developers to use. Surfacing the nooks and crannies of the Sketch runtime.

Primary LanguageObjective-C

Sketch Internals

The raw dumps of Sketch internals for different versions of Sketch — useful for Sketch Plugin developers to keep track of the hidden nooks and crannies of the app runtime.

Usage

Go checkout the headers for production versions here, and the beta dumps here.

Contributing

1. Install class-dump

Go download class-dump from here and add it to your path.

mv ~/Downloads/class-dump /usr/local/bin

2. Generate headers

Use make to generate headers, or do it manually yourself using class-dump.

Production:

make production version=3.3.2

Or, do it manually

cd dumps/production && mkdir $(version) && cd $(version) && class-dump /Applications/Sketch.app/Contents/MacOS/Sketch -H

Beta:

make production version=3.4.0.build_number

Or, do it manually

cd dumps/beta && mkdir $(version) && cd $(version) && class-dump /Applications/Sketch\ Beta.app/Contents/MacOS/Sketch\ Beta -H

3. Contribute Back

Open up a Pull Request for review!

License

All intellectual property of Bohemian Coding, makers of Sketch. Merely used as a learning resource for people looking to contribute to the plugin ecosystem. (Shoot me an email at ryan@ionizedmedia.com if you want to chat.)