via Swift: So that whole SourceKit thing — Erica Sadun.
Last night, I spent a tad more time on SourceKit parsing than any human would find reasonable. After, I looked what I had done, experienced shame, and ripped it all back out. Here is the story of my SourceKit.
I started off here at JP Simard’s discussion of all the cool tools that let you do this at the command line. That post was back in July, and those tools no longer exist.
via Uncovering SourceKit – JP Simard – iOS Developer.
To support a fancy new language, nifty realtime IDE features and impressive cross-language interoperability, Apple had to develop several new underlying tools. Here, we’ll focus onSourceKit, Xcode’s under-appreciated sidekick.
via realm/SwiftLint · GitHub.
An experimental tool to enforce Swift style and conventions, loosely based on GitHub’s Swift Style Guide.
SwiftLint hooks into Clang and SourceKit to use the AST representation of your source files for more accurate results.