Swiftpack.co - dduan/DrString as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
DrString finds issues in your Swift docstrings and fixes them for you.
.package(url: "https://github.com/dduan/DrString.git", from: "v0.5.0")

Circular Logo

Dr. String in the Multiverse of Pedantry

… or "DrString", for short.

DrString helps you take control of docstrings in your Swift codebase by finding and fixing inconsistencies among them.

Demo Xcode Demo


  • Getting Started guides you through how to use DrString in your Swift project.
  • Overview provides the why s and what s of docstring linting.
  • Configuration is a reference to all options for behavior customization.
  • Editor Integrations exist to improve your user experience with Xcode, and more!




Stars: 148
Last commit: 5 days ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Release Notes

39 weeks ago


  • drstring check now reports each problem it finds with a file path, line, and column, as apposed to before, where all problems for a specific signature are grouped together. Each type of problem has a custom column position to best indicate which part of the docstring it relates to.
  • drstring extract's output for existing docstrings gained a new field relativeLineNumber for each "entry".

Bug fixes

  • In grouped parameter style, spacing between the dash - and the parameter was not checked before. From this release on, any spacing except a single space is deemed problematic. (#225)
  • If documentation for throws and returns starts on the second line, previously this was considered problematic. But it's pretty common to start on the next line. This bug has been fixed. (#213)
35e7a66c27f8babe549da3eff2b79bdcd9b6bcb5c61f9837cf9fedbe52908358  drstring-x86_64-apple-darwin.tar.gz
c210bd86fcff2d6a96783831f28dc8118dcdcc995ccb235ec2292ea4a51adb43  v0.5.0.zip
62d5270b690ebd65f60464f626d6c5c919fa4103d588346df7dc3786734db6fb  v0.5.0.tar.gz

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics