← All Languages
Swift

Swift

Powerful and Intuitive for Apple Platforms

First appeared: 2014Designed by: Chris Lattner

Apple's modern language for iOS, macOS, watchOS, and tvOS, designed for safety and expressiveness.

Links

Paradigm

OOPProtocol-orientedFunctional

Hello, World

print("Hello, World!")

About

Introduced by Apple at WWDC 2014, open-sourced in 2015. Swift 5 (2019) achieved ABI stability. Swift 6 (2024) introduced full data-race safety.

Type system: Static

Ecosystem

Package Managers
Swift Package Manager
Frameworks
SwiftUIUIKitVaporSwiftData

Learning Resources

Swift.org DocumentHacking with Swift