![]() | Vikipedi'nin kalite standartlarına ulaşabilmesi için, bu maddenin veya bir bölümündeki ansiklopedik olmayan içeriğin temizlenmesi gerekmektedir. Görüşlerinizi lütfen tartışma sayfasında belirtiniz. (Nisan 2016) |
![]() | |
Paradigması | çok paradigmalı: nesne yönelimli, fonksiyonel, zorunlu |
---|---|
İlk çıkışı | 2 Haziran 2014[1] | )
Tasarımcı | Chris Lattner ve Apple |
Geliştirici | Apple |
Kararlı sürüm | 5.9.2 (11 Aralık 2023 | ) )
Etkilendikleri | Objective-C, Rust, Haskell, Ruby, Python, Scala, C#, CLU,[2] D[3] |
Etkiledikleri | Rust[4] |
İşletim sistemi | iOS, macOS, tvOS, watchOS, visionOS |
Lisans | Apache Lisansı sürüm 2.0 (Swift 2.2 ve sonrası) özel mülk (2.2 sürümüne kadar)[5][6] |
Olağan dosya uzantıları | .swift |
Web sitesi | developer.apple.com/swift/ |
Swift, Apple tarafından iOS ve macOS platformlarına iOS ve Mac uygulamaları geliştirmek için oluşturulan, derlenerek çalışan güçlü ve kullanımı kolay, nesne yönelimli bir programlama dili.
İlk olarak WWDC 2014[7] konferansında duyurulmuştur. Swift Apple'ın Cocoa ve Cocoa Touch geliştirme çatıları ve Objective-C ile yazılmış çoğu Apple ürünüyle beraber çalışabilecek şekilde tasarlanmıştır.
Swift, TIOBE indeksinin Mart 2017 verilerine göre dünyada en çok kullanılan 10 programlama dilinden birisi haline gelmiştir. Mevcut Objective-C koduna sorunsuz entegre edilebilmesi sayesinde, yazılım geliştiriciler için zamandan tasarruf sağlamaktadır.
Swift programlama dilinde programlama geliştirmek için Xcode programı kullanılır.
I started work on the Swift Programming Language in July of 2010. I implemented much of the basic language structure, with only a few people knowing of its existence. A few other (amazing) people started contributing in earnest late in 2011, and it became a major focus for the Apple Developer Tools group in July 2013 [...] drawing ideas from Objective-C, Rust, Haskell, Ruby, Python, C#, CLU, and far too many others to list.
Swift borrows a clever feature from the D language: these identifiers expand to the location of the caller when evaluated in a default argument list.
The 'if let' construct is based on the precedent set by Swift, which introduced its own 'if let' statement.
Swift is proprietary and closed: It is entirely controlled by Apple and there is no open source implementation.
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.