Skip to content

Swift (programming language)

Sean P. Myrick V19.1.7.2 edited this page Sep 14, 2021 · 3 revisions

Swift (programming language)

Go back (WacOS/Wiki/)

Image

The icon for swift programming language view it here

Swift is a general purpose programming language made by Apple inc. on June 2nd 2014. It is used on all new Apple products, and was influenced by several languages, including Objective-C, Rust, Haskell, Ruby, Python, C#, CLU, and D.

The latest stable version of Swift (as of 2021, Tuesday September 14th at 2:41 pm) is 5.4.3.

Hello world program

For version 1.x Swift.

println("Hello world")

For version 2.x and above Swift

print("Hello world")

Source: RosettaCode

Use by Apple

Swift is used in all modern Apple products, including MacOS, iOS, iPadOS, TvOS, watchOS, and z/OS. It uses Apples CocoaTouch API.

Swift is an open source language, and due to its usage on Apple products, it is also used in the WacOS project.

This article on programming languages is a stub. You can help by expanding it!


Article info

Written on: 2020 May 27th at 2:14 pm)

Last revised on: 2021, Tuesday September 14th at 2:41 pm)

File format Markdown document (*.md *.mkd *.markdown)

Article version: 3 (2021, Tuesday September 14th at 2:41 pm)



https://github.com/seanpm2001/WacOS/blob/master/Graphics/Branding/Old/WACOS_LogoPrototype1.png

The WacOS project - Project Wiki (Sidebar)

Back home (/WacOS/Wiki/)


Featured articles:


https://github.com/seanpm2001/WacOS/blob/master/Graphics/Branding/Old/LogoPrototype1.png

Where to start

Read the rules for editing this Wiki

WacOS and ElementaryOS, 2 good choices

Click the dropdown for Wiki pages and find out what else interests you.

This section needs improvement.


Top sources

( (RosettaCode) | (Wikipedia) | (Apple) | (GitHub) )


WacOS project - Project Wiki

Sidebar version: 3 (Wednesday, 2021 September 29th at 9:39 pm)

End of sidebar


Clone this wiki locally