SourceKitten banner
SourceKitten

CLIOpen Source

SourceKitten Overview

A framework and command line tool for interacting with SourceKit. SourceKitten links and communicates with sourcekitd.framework to parse the Swift AST, extract comment docs for Swift or Objective-C projects, get syntax data for a Swift file and more. You can use SourceKitten to generate full code completion details, print Swift docs as JSON or Objective-C docs as XML, print Swift structure information as JSON and print Swift syntax information as JSON.

Stay on top of new tools for iOS developers

Subscribe to get a convenient weekly roundup of iOS Dev Tools' newest addition
of helpful and time-saving developer tools, services, and SDKs to get your job done faster.