Swift-specific features and guidance
Table of Contents

Swift is a general-purpose programming language that’s approachable for newcomers and powerful for experts. It is fast, modern, safe, and a joy to write.

<summary>Language Info for Swift</summary>
<div class="card">
    <ul class="list-group list-group-flush">
        <li class="list-group-item">Since PMD 5.3.7</li>
        <li class="list-group-item">Implementation: <a href="https://docs.pmd-code.org/apidocs/pmd-swift/7.0.0-SNAPSHOT/net/sourceforge/pmd/lang/swift/SwiftLanguageModule.html#"><code>SwiftLanguageModule</code></a></li>
        <li class="list-group-item">Id: swift</li>
        <li class="list-group-item">PMD: ✔️</li>
        <li class="list-group-item">CPD: ✔️</li>
    </ul>
</div>

The grammar of the languages is documented in The Swift Language Reference.