Power by ming zou.
Swift is a robust and intuitive programming language created by Apple for building apps for iOS, Mac, Apple TV, and Apple Watch. It’s designed to give developers more freedom than ever. Swift is easy to use and open-source, so anyone with an idea can create something incredible.
Figure 1: Building seamless iOS experiences.
Figure 2: Clean and expressive syntax.
Swift includes features that make code easier to read and write, while giving the developer the control needed for a true systems programming language.
// Define a simple greeting
let greeting = "Hello, World!"
var developerName = "Swift Enthusiast"
func sayHello(to name: String) {
print("\(greeting) My name is \(name).")
}
sayHello(to: developerName)