Swift

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(项目)
 
(未显示1个用户的15个中间版本)
第1行: 第1行:
 
{{SeeWikipedia}}
 
{{SeeWikipedia}}
 
+
[[文件:swift.png|right]]
 
Swift 编程语言是苹果新推出的开发语言,Swift是供iOS和OS X应用编程的新编程语言,基于C和Objective-C,而却没有C的一些兼容约束。Swift采用了安全的编程模式和添加现代的功能来是的编程更加简单、灵活和有趣。界面则基于广受人民群众爱戴的Cocoa和Cocoa Touch框架,展示了软件开发的新方向。
 
Swift 编程语言是苹果新推出的开发语言,Swift是供iOS和OS X应用编程的新编程语言,基于C和Objective-C,而却没有C的一些兼容约束。Swift采用了安全的编程模式和添加现代的功能来是的编程更加简单、灵活和有趣。界面则基于广受人民群众爱戴的Cocoa和Cocoa Touch框架,展示了软件开发的新方向。
  
第6行: 第6行:
  
 
==版本==
 
==版本==
*[https://swift.org/blog/swift-4-0-release-process/ Swift 4 Release Process]
+
*[https://swift.org/blog/swift-5-released/ Swift 5 Released!]
 +
*[https://swift.org/blog/swift-4-0-released/ Swift 4.0 Released!] [https://swift.org/blog/swift-4-0-release-process/ Swift 4 Release Process]
 
*[https://swift.org/blog/swift-3-0-release-process/ Swift 3.0 Release Process] [http://docs.huihoo.com/swift/3.0 Swift 3.0 documentation]
 
*[https://swift.org/blog/swift-3-0-release-process/ Swift 3.0 Release Process] [http://docs.huihoo.com/swift/3.0 Swift 3.0 documentation]
 
*[https://swift.org/blog/swift-2-2-released/ Swift 2.2 Released] [https://swift.org/blog/swift-2-2-release-process/ Swift 2.2 Release Process]
 
*[https://swift.org/blog/swift-2-2-released/ Swift 2.2 Released] [https://swift.org/blog/swift-2-2-release-process/ Swift 2.2 Release Process]
第12行: 第13行:
 
==项目==
 
==项目==
 
[[文件:swift-ai.png|right]]
 
[[文件:swift-ai.png|right]]
 +
*[https://github.com/matteocrippa/awesome-swift Awesome Swift] [[image:awesome.png]]
 +
*[https://github.com/apple/swift Swift @ GitHub]
 +
*[https://github.com/IBM-Swift Swift @ IBM]
 
*[https://github.com/ReactiveX/RxSwift RxSwift]
 
*[https://github.com/ReactiveX/RxSwift RxSwift]
 
*[https://github.com/ReactiveCocoa/ReactiveSwift ReactiveSwift]
 
*[https://github.com/ReactiveCocoa/ReactiveSwift ReactiveSwift]
 
*[https://github.com/ReactiveCocoa/ReactiveCocoa ReactiveCocoa]
 
*[https://github.com/ReactiveCocoa/ReactiveCocoa ReactiveCocoa]
*[https://github.com/carlosbtn/Swift Reusable Swift code]
 
 
*[[Firefox for iOS]]
 
*[[Firefox for iOS]]
 
*[https://github.com/shadowsocks/Potatso Potatso] 科学上网
 
*[https://github.com/shadowsocks/Potatso Potatso] 科学上网
第28行: 第31行:
 
*[https://github.com/BradLarson/GPUImage2 GPUImage 2]
 
*[https://github.com/BradLarson/GPUImage2 GPUImage 2]
 
*[https://github.com/PostgresApp/PostgresApp Postgres.app]
 
*[https://github.com/PostgresApp/PostgresApp Postgres.app]
 +
*[https://github.com/PerfectlySoft/Perfect Perfect] Server-Side Swift
 
*[https://github.com/hemantasapkota/SwiftStore SwiftStore] Key/Value store for Swift backed by LevelDB.
 
*[https://github.com/hemantasapkota/SwiftStore SwiftStore] Key/Value store for Swift backed by LevelDB.
 
*[https://github.com/IBM-Swift/Kitura Kitura] Web framework and HTTP server for Swift
 
*[https://github.com/IBM-Swift/Kitura Kitura] Web framework and HTTP server for Swift
 +
*[http://zewo.io/ Zewo] Build server software in Swift
 
*[https://github.com/danielbuechele/goofy Goofy] is a OS X client for Facebook Messenger.
 
*[https://github.com/danielbuechele/goofy Goofy] is a OS X client for Facebook Messenger.
 
*[https://github.com/insidegui/WWDC WWDC app for macOS]
 
*[https://github.com/insidegui/WWDC WWDC app for macOS]
第42行: 第47行:
 
   2> print("Hello, \(name)")  
 
   2> print("Hello, \(name)")  
 
  Hello, swift
 
  Hello, swift
 +
 +
==iOS==
 +
*[https://github.com/dkhamsing/open-source-ios-apps Open Source iOS Apps]
 +
*[https://github.com/actorapp/actor-platform Actor Messaging platform] [[Akka]]和[[Scala]]的后端系统,提供[[iOS]]和[[Android]] SDK
 +
*[https://github.com/CatchChat/Yep Yep] Meet Genius
 +
*[[edX]] [https://github.com/edx/edx-app-ios iOS App]
 +
*[https://github.com/kickstarter/ios-oss Kickstarter for iOS] Bring new ideas to life, anywhere. 
 +
*[https://github.com/fullstackio/FlappySwift FlappySwift]
 +
*[https://github.com/aslanyanhaik/youtube-iOS Youtube iOS Template]
 +
*[https://github.com/austinzheng/swift-2048 2048 for Swift]
 +
*[https://github.com/swiftcodex/Swift-Radio-Pro Swift Radio]
 +
*[https://github.com/artsy/eigen Artsy] The art world in your pocket, Eeplore 300,000 Artworks. //很酷
 +
*[https://github.com/Yalantis/PixPic PixPic] a Photo Editing App
 +
*[https://github.com/MengTo/DesignerNewsApp DesignerNewsApp]
 +
*[https://github.com/amitburst/HackerNews HackerNews]
 +
*[https://github.com/lexrus/VPNOn VPN On]
 +
 +
==macOS==
 +
*[https://github.com/iCHAIT/awesome-macOS Awesome macOS] [[文件:awesome.png]]
 +
*[http://vimr.org/ VimR]
  
 
==[[Linux]]==
 
==[[Linux]]==
第49行: 第74行:
 
*[https://github.com/apple/swift/blob/master/docs/Android.md Getting Started with Swift on Android]
 
*[https://github.com/apple/swift/blob/master/docs/Android.md Getting Started with Swift on Android]
 
*[https://github.com/SwiftAndroid SwiftAndroid]
 
*[https://github.com/SwiftAndroid SwiftAndroid]
 +
 +
==Windows==
 +
[https://swiftforwindows.github.io/ Swift for Windows]
  
 
==[[Emacs]]==
 
==[[Emacs]]==
第70行: 第98行:
 
*[https://swift.org/ Swift官网]
 
*[https://swift.org/ Swift官网]
 
*[https://www.apple.com/cn/swift/ Swift苹果官网]
 
*[https://www.apple.com/cn/swift/ Swift苹果官网]
*[https://github.com/matteocrippa/awesome-swift Awesome Swift] [[image:awesome.png]]
 
*[https://github.com/apple/swift Swift @ GitHub]
 
 
*[https://developer.apple.com/swift Swift @ Apple]
 
*[https://developer.apple.com/swift Swift @ Apple]
*[https://github.com/IBM-Swift Swift @ IBM]
 
 
*[https://developer.apple.com/swift/blog/ Swift官网博客]
 
*[https://developer.apple.com/swift/blog/ Swift官网博客]
 
*[https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/Swift_Programming_Language/ 《The Swift Programming Language》在线图书]
 
*[https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/Swift_Programming_Language/ 《The Swift Programming Language》在线图书]

2023年7月7日 (五) 23:08的最后版本

Wikipedia-35x35.png 您可以在Wikipedia上了解到此条目的英文信息 Swift Thanks, Wikipedia.
Swift.png

Swift 编程语言是苹果新推出的开发语言,Swift是供iOS和OS X应用编程的新编程语言,基于C和Objective-C,而却没有C的一些兼容约束。Swift采用了安全的编程模式和添加现代的功能来是的编程更加简单、灵活和有趣。界面则基于广受人民群众爱戴的Cocoa和Cocoa Touch框架,展示了软件开发的新方向。

Swift 语言由 C++ 编写,依赖 LLVM编译环境,采用Apache v2许可协议。

目录

[编辑] 版本

[编辑] 项目

Swift-ai.png

[编辑] REPL

$ swift 
  1> let name = "swift" 
name: String = "swift"
 2> print("Hello, \(name)") 
Hello, swift

[编辑] iOS

[编辑] macOS

[编辑] Linux

[编辑] Android

[编辑] Windows

Swift for Windows

[编辑] Emacs

[编辑] 函数式编程

[编辑] 文档

pip install -U Sphinx
git clone https://github.com/apple/swift.git
cd swift/docs
make

浏览Swift在线文档

[编辑] 开发者

  • 克里斯·拉特纳 (Chris Lattner) 美国著名程序员,LLVM项目的主要发起人与作者之一,Clang编译器的作者。他现在是苹果公司编译器开发团队的首席架构师,他于2010年7月开始设计Swift。

[编辑] 链接

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱