Skip to content

Latest commit

 

History

History
73 lines (57 loc) · 2.47 KB

_use-cases.md

File metadata and controls

73 lines (57 loc) · 2.47 KB

Using Swift

  • ✨ New to Swift?

    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.

  • Command-line Tool

    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>
    
  • Library

    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>
    
  • Web Service

    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>
    
  • iOS and macOS Application

    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>
    
  • Embedded Application for a Microcontroller

    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.