Swift (bahasa pemrograman): Perbedaan antara revisi
Konten dihapus Konten ditambahkan
baru |
Fabrianivan (bicara | kontrib) Tidak ada ringkasan suntingan |
||
Baris 1: | Baris 1: | ||
{{about|the Apple programming language|the parallel scripting language|Swift (parallel scripting language)}} |
|||
⚫ | '''Swift''' adalah [[bahasa pemrograman]] |
||
<!--as the above indicates, "''This article is about the Apple programming language. For the parallel scripting language, see [[Swift (parallel scripting language)]].''" This means "don't link to http://swift-lang.org/, as that's the site for the parallel scripting language named Swift, not the site for the Apple programming language named Swift.--> |
|||
{{pp-vandalism|expiry=3 June 2014|small=yes}} |
|||
{{stub}} |
|||
{{Current|date=June 2014}} |
|||
{{Infobox programming language |
|||
| name = Swift (bahasa pemrograman) |
|||
| title = Swift |
|||
| logo = [[File:Apple Swift Logo.png|70px]] |
|||
| year = 2014 |
|||
| developer = [[Apple Inc|Apple]] |
|||
| influenced_by = [[Objective-C]], [[Groovy (programming language)|Groovy]]<ref>{{cite web | url=http://glaforge.appspot.com/article/apple-s-swift-programming-language-inspired-by-groovy | title=Apple's Swift programming language inspired by Groovy | date=2 June 2014 | accessdate=3 June 2014 | author=Laforge, Guillaume}}</ref> |
|||
| website = http://developer.apple.com/swift |
|||
}} |
|||
⚫ | '''Swift''' adalah [[bahasa pemrograman]] objek fungsional untuk pengembangan [[iOS]] dan [[OS X]] yang dibuat oleh [[Apple Inc.|Apple]].<ref name="tnw">{{Cite web|url = http://thenextweb.com/apple/2014/06/02/apple-announces-swift-new-programming-language-ios|title = Apple announces Swift, a new programming language for iOS|date = |accessdate = |website = |publisher = |last = |first = }}</ref> Didesain untuk berdampingan dengan Objective-C dan menghindari program dari kode yang salah. ''Swift'' diperkenalkan oleh Apple pada acara tahunan [[Apple Worldwide Developers Conference|WWDC]] 2014.<ref name="tnw" /> Ini dibangun dengan compiler [[LLVM]] yang termasuk dalam [[Xcode]] 6 beta. Sebuah buku berisi 500 halaman petunjuk, ''The Swift Programming Language'', dirilis bersamaan dengan WWDC, dan tersedia secara gratis di ''iBooks''.<ref>{{cite book|title=The Swift Programming Language|publisher=Apple, Inc.|date=02 June 2014|url=https://itunes.apple.com/gb/book/swift-programming-language/id881256329?mt=11}}</ref> |
||
Pada tanggal 2 Juni 2014, aplikasi WWDC menjadi yang pertama dirilis ke publik yang ditulis dengan Swift. |
|||
== Lihat pula == |
|||
*[[Xcode]] |
|||
*[[Objective C]] |
|||
* http://swift-lang.org/ |
|||
== |
== Example code == |
||
<source lang="objc"> |
|||
println("Halo, dunia") |
|||
let people = ["Anna": 67, "Beto": 8, "Jack": 33, "Sam": 25] |
|||
for (nama, age) in people { |
|||
println("\(nama) is \(age) umur.") |
|||
} |
|||
</source> |
|||
== References == |
|||
{{reflist}} |
{{reflist}} |
||
== |
== External links == |
||
* [https://developer.apple.com/swift/ Swift |
* [https://developer.apple.com/swift/ Swift at Apple.com] |
||
[[Category: |
[[Category:bahasa pemrograman]] |
||
[[Category:Apple Inc.]] |
[[Category:Apple Inc.]] |
||
[[Category:2014]] |
Revisi per 3 Juni 2014 15.53
Artikel ini membahas suatu peristiwa terkini. Informasi pada halaman ini dapat berubah setiap saat seiring dengan perkembangan peristiwa dan laporan berita awal mungkin tidak dapat diandalkan. Pembaruan terakhir untuk artikel ini mungkin tidak mencerminkan informasi terkini. (June 2014) |
Swift | |
---|---|
Pengembang | Apple |
Rilis perdana | 2014 |
Situs web | http://developer.apple.com/swift |
Repositori | swift |
Terpengaruh oleh | |
Objective-C, Groovy[1] | |
Sunting kotak info • L • B |
Swift adalah bahasa pemrograman objek fungsional untuk pengembangan iOS dan OS X yang dibuat oleh Apple.[2] Didesain untuk berdampingan dengan Objective-C dan menghindari program dari kode yang salah. Swift diperkenalkan oleh Apple pada acara tahunan WWDC 2014.[2] Ini dibangun dengan compiler LLVM yang termasuk dalam Xcode 6 beta. Sebuah buku berisi 500 halaman petunjuk, The Swift Programming Language, dirilis bersamaan dengan WWDC, dan tersedia secara gratis di iBooks.[3]
Pada tanggal 2 Juni 2014, aplikasi WWDC menjadi yang pertama dirilis ke publik yang ditulis dengan Swift.
Example code
println("Halo, dunia")
let people = ["Anna": 67, "Beto": 8, "Jack": 33, "Sam": 25]
for (nama, age) in people {
println("\(nama) is \(age) umur.")
}
References
- ^ Laforge, Guillaume (2 June 2014). "Apple's Swift programming language inspired by Groovy". Diakses tanggal 3 June 2014.
- ^ a b "Apple announces Swift, a new programming language for iOS".
- ^ The Swift Programming Language. Apple, Inc. 02 June 2014.