Swift (dasturlash tili)

Swift yuqori pogʻonali, multi-paradigmali dasturlash tilidir. 2014-yilda Apple shirkati tomonidan ishlab chiqilgan.

 Versiyalari 
 Versiya Chiqarilgan sana macOS Linux Windows Swift 1.0 2014-09-09    Swift 1.1 2014-10-22    Swift 1.2 2015-04-08    Swift 2.0 2015-09-21    Swift 2.1 2015-10-20    Swift 2.2 2016-03-21    Swift 2.2.1 2016-05-03    Swift 3.0 2016-09-13    Swift 3.0.1 2016-10-28    Swift 3.0.2 2016-12-13    Swift 3.1 2017-03-27    Swift 3.1.1 2017-04-21    Swift 4.0 2017-09-19    Swift 4.0.2 2017-11-01    Swift 4.0.3 2017-12-05    Swift 4.1 2018-03-29    Swift 4.1.1 2018-05-04    Swift 4.1.2 2018-05-31    Swift 4.1.3 2018-07-27    Swift 4.2 2018-09-17    Swift 4.2.1 2018-10-30    Swift 4.2.2 2019-02-04    Swift 4.2.3 2019-02-28    Swift 4.2.4 2019-03-29    Swift 5.0 2019-03-25    Swift 5.0.1 2019-04-18    Swift 5.0.2 2019-07-15    Swift 5.0.3 2019-08-30    Swift 5.1 2019-09-10    Swift 5.1.1 2019-10-11    Swift 5.1.2 2019-11-07    Swift 5.1.3 2019-12-13    Swift 5.1.4 2020-01-31    Swift 5.1.5 2020-03-09    Swift 5.2 2020-03-24    Swift 5.2.1 2020-03-30    Swift 5.2.2 2020-04-15    Swift 5.2.3 2020-04-29    Swift 5.2.4 2020-05-20    Swift 5.2.5 2020-08-05    Swift 5.3 2020-09-16    Swift 5.3.1 2020-11-13    Swift 5.3.2 2020-12-15    Swift 5.3.3 2021-01-25    Swift 5.4 2021-04-26    Swift 5.4.1 2021-05-25    Swift 5.4.2 2021-06-28    Swift 5.4.3 2021-09-09    Swift 5.5 2021-09-20    Swift 5.5.1 2021-10-27    Swift 5.5.2 2021-12-14    Swift 5.5.3 2022-02-09    Swift 5.6 2022-03-14    Swift 5.6.1 2022-04-09    Swift 5.6.2 2022-06-15    Swift 5.6.3 2022-09-02    Swift 5.7 2022-09-12    Swift 5.7.1 2022-11-01   Swift 5.82023-03-30Swift 5.8.12023-06-01

 Kodga misol 
// Oʻzgaruvchilar
var implicitInteger = 70
var implicitDouble = 70.0
var explicitDouble: Double = 70

// Konstantalar
let numberOfApples = 3
let numberOfOranges = 5
let appleSummary = "I have \(numberOfApples) apples."
let fruitSummary = "I have \(numberOfApples + numberOfOranges) pieces of fruit."

print(„Hello, world“)

let people = ["Aziza": 67, „Bobur“: 8, „Javlon“: 33, „Salima“: 25]
for (name, age) in people {
    print("\(name) is \(age) years old.")
}

 Yana qarang 
 Objective-C
 D (dasturlash tili)
 Kotlin
 Python
 Nim

 Manbalar 

 Havolalar 

 Swift Apple Developerda


Turkum:Dasturlash tillari