1) swift简介
a) swift语言产生的初衷是什么?
1)未来化标准(铁人三项) ( ware ,auto ,tv, robot)homekit,healthkit,watch,icloud…
2)优化臃肿:效率低 散热性,性能,-> 重写编译器(runtime运行时更快)-> 让编程语言更有效率,更简单
(备注: oc > 1980 swift > 2010 软硬网结合 对标准库的开源)![swift_why? swift_why?](https://i-blog.csdnimg.cn/blog_migrate/5b8148fb6ee75e4d0f27cab5eb17b27c.jpeg)
![swift_why? swift_why?](https://i-blog.csdnimg.cn/blog_migrate/ecfb788a47b9f11532a7d9a94dca5ea3.jpeg)
b)swift和OC以及其他语言的区别 好处在哪里?
2)swift基础(OC语言上的区别)+ 基础语言使用
a) 变量 (?,! String , Array , Dictionary , 元组 ,setter getter)
b) 控制流
c) 函数 (继承 protocol,闭包)
d) 枚举和结构体
e) 泛型
f) 对象和类
3)总结