-
Swift is a great first language if you are just starting your programming journey. For a brief tour of the language, check out this introductory chapter in The Swift Programming Language book.
<a href="https://docs.swift.org/swift-book/documentation/the-swift-programming-language/guidedtour/" class="cta-secondary">Read A Swift Tour</a>
Here are some examples of the many use cases of Swift, in case you want to jump in and start writing some code right away.
-
Learn how to create cross-platform command-line tools such as short-lived interactive programs, or long-lived daemons that run in the background.
<a href="/getting-started/cli-swiftpm" class="cta-secondary">Start tutorial</a>
-
Learn how to create a cross-platform library for sharing reusable code, or modularize large code-base.
<a href="/getting-started/library-swiftpm" class="cta-secondary">Start tutorial</a>
-
Learn how to create a web service using a web framework.
This guide requires macOS or Linux.<a href="/getting-started/vapor-web-server" class="cta-secondary">Start tutorial</a>
-
Learn how to create an iOS or macOS application using SwiftUI.
This guide requires macOS and Xcode.<a href="/getting-started/swiftui" class="cta-secondary">Start tutorial</a>
-
Learn how to create an application using Embedded Swift that will run on an embedded device or in a simulator.
This guide requires macOS or Linux.<a href="/getting-started/embedded-swift" class="cta-secondary">Start tutorial</a>
Looking for a language reference? The Swift Programming Language (TSPL) book is available in multiple languages.