Jump to content

Swift (programming language)

From Simple English Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Swift logo.

Swift is a general-purpose programming language made by Apple Inc. Originally released in 2014, Swift has been known to be used for making iOS applications.

History

The development of Swift started in July 2010 by Chris Latner, with many other software programmers at Apple. Swift was made as a replacement for another programming language called Objective-C.

On June 2, 2014 the Apple Worldwide Developers Conference(WWDC) application became the first application written in Swift. A beta version of the app was released to the registered Apple developers.

In 2016, during the WWDC 2016, Apple announced an iPad only app called Swift Playgrounds, made to teach people how to code with Swift.

During WWDC 2019, Apple announced SwiftUI with Xcode 11.

Examples

Here is a Hello world program written in swift.

// Swift "Hello world!" Program

print("Hello world!")

Platforms

Swift supports operating systems like: Windows, MacOS, Linux, Android, and Apple's operating systems (Darwin,iOS, iPadOS, tvOS, watchOS)

References