已采纳回答 / liuyubobobo
谢谢你的支持:)根据官方说法,六月份的WWDC,苹果会 introduce Swift 3.0 to public. 预计届时XCode8的beta版会放出,让大家尝试使用Swift3.0。正式版本至少要9月份才会放出,搞不好会是年底。至于课程3.0化的问题,我现在能做的也只是在Swift3.0正式发布后,将这个课程的官方github里的源代码:https://github.com/liuyubobobo/Play-with-Swift-2 升级为支持Swift3,与此同时,在已有的2.0课程相应的评论区...
2016-05-29
讲师回答 / liuyubobobo
因为解包可能失败啊。if语句的意义就是,不仅要考虑解包成功的后续逻辑,还告诉开发者,这个解包成果是if的(只是如果),有必要的话要考虑else哦。
2016-05-27
已采纳回答 / liuyubobobo
It's a great question! I really want to introduce more about these kinds of topics, as well as more concepts about Function Programming in the future advanced tutorial video. Just look forwarding to it :)Hint: We can use extension, which we will introduce...
2016-05-22