Why I want build phases for Playgrounds

Dear Playground Team,

Right now, you can add a custom build phase to any Swift project so long as it’s not a playground. Custom build phases enables me to do all sorts of handy things with sources but most importantly, it lets me lint. Can you please add something like this to playgrounds?

While I’ve written my linter to be Playground-compatible from the command line, I’d much rather have a way to use the linter (and a spell/grammar checker for that matter) from inside the playground with highlighted yellow and red call-outs on the lines they apply to.

Sharing playgrounds is a top use-case, along with prototyping, exploration, etc. Being able to get those materials into shape with in-Xcode tools would really help. A lot.


— E

Comments are closed.