最新版本:5.0
swift作者: Chris Lattner
open-source
优势
Modern
Safety
Fast
Powerful
Enjoyable :playground
swift新特点
- 没有特定的根类型(No dedicated type root )
- 类型通过遵守协议的方式,而非继承来实现扩展( Type conforms to protocols instead of heavy inheritance )
- 低耦合(Super loose coupling )
- 概念分离(Nice separation of concerns )
- 结构清晰(Clean architecture )
学习方式
结合项目学习
重要的是如何去学习并实践
学习参考
苹果官方源码
https://github.com/apple
苹果官方swift文档
https://swift.org/
http://www.cocoachina.com/articles/8818
https://docs.swift.org/swift-book/
官方文档(中文版):
https://www.runoob.com/manual/gitbook/swift5/source/_book/chapter1/01_about_swift.html
菜鸟教程:
https://www.runoob.com/swift/swift-tutorial.html
swift文档
https://developer.apple.com/documentation/swift
Swift 学习指引
http://www.swiftguide.cn/
swift第三方库列表/框架列表
https://iosexample.com/
快捷键
查看函数方法内容:
option + 鼠标左键
打开表情列表:
control + command + 空格键