Swift

Archived

This page has been archived and will receive no further updates.

Misc

Resources

Installation

Recommended: use swiftenv

  1. Install swiftenv

    https://swiftenv.fuller.li/en/latest/installation.html

  2. Get the latest version of Swift from https://swift.org/download/

  3. Install Swift

    https://swiftenv.fuller.li/en/latest/getting-started.html#installing-swift

    swiftenv install 4.0.3
    

REPL

With swiftenv:

swift -I ~/.swiftenv/versions/$(swiftenv global)/usr/lib/swift/clang/include/