FAIR and interactive data graphics from a scientific knowledge graph
Kandungan
Penampilan
Fail:Swift logo with text.svg | |
Paradigma | Berbilang paradigma (Pengaturcaraan berorientasi protokol, berorientasi objek, kefungsian, imperatif, berstruktur blok) |
---|---|
Muncul pada | 2 Jun 2014[1] |
Direka oleh | Chris Lattner dan Apple Inc. |
Pembangun | Apple Inc. |
Lepasan stabil | 2.2.1 [2] (3 Mei 2016 ) |
Lepasan pratunjuk | 2.2-branch (23 April 2016 | )
Disiplin penjenisan | Statik, kuat, diagak |
OS | Darwin, Linux, FreeBSD |
Lesen | Lesen Apache 2.0 (Swift 2.2 dan keatas) Berhak milik (hingga versi 2.2)[3][4] |
Sambugan fail biasa | .swift |
Laman web | swift |
Swift ialah sebuah bahasa pengaturcaraan kompilan berbilang paradigma yang dibangunkan oleh Apple untuk iOS dan OS X.
Contoh
let orang = ["Ali": 16, "Abu": 17, "Siti": 20]
for (nama, umur) in orang {
println("\(nama) berumur \(umur) tahun.");
}
Pautan luar
Rujukan
- ^ "Swift Has Reached 1.0". Apple. September 9, 2014. Dicapai pada March 8, 2015.
- ^ https://swift.org/download/#releases
- ^ "Swift, Objectively".
Swift is proprietary and closed: It is entirely controlled by Apple and there is no open source implementation.
- ^ Lattner, Chris (June 11, 2014). "Re: [LLVMdev] [cfe-dev] [ADVERTISEMENT] open positions in Apple's Swift compiler team". Dicapai pada June 12, 2014.
You can imagine that many of us want it to be open source and part of llvm, but the discussion hasn't happened yet, and won't for some time.
Jika anda melihat rencana yang menggunakan templat {{tunas}} ini, gantikanlah dengan templat tunas yang lebih spesifik.