已采納回答 / liuyubobobo
謝謝你的支持:)根據(jù)官方說法,六月份的WWDC,蘋果會(huì) introduce Swift 3.0 to public. 預(yù)計(jì)屆時(shí)XCode8的beta版會(huì)放出,讓大家嘗試使用Swift3.0。正式版本至少要9月份才會(huì)放出,搞不好會(huì)是年底。至于課程3.0化的問題,我現(xiàn)在能做的也只是在Swift3.0正式發(fā)布后,將這個(gè)課程的官方github里的源代碼:https://github.com/liuyubobobo/Play-with-Swift-2?升級(jí)為支持Swift3,與此同時(shí),在已有的2.0課程相應(yīng)的評(píng)論區(qū)...
2016-05-29
講師回答 / liuyubobobo
因?yàn)榻獍赡苁“?。if語句的意義就是,不僅要考慮解包成功的后續(xù)邏輯,還告訴開發(fā)者,這個(gè)解包成果是if的(只是如果),有必要的話要考慮else哦。
2016-05-27
講師回答 / liuyubobobo
對(duì)于可選型,里面有可能存儲(chǔ)著nil。如果想將可選型轉(zhuǎn)化為一個(gè)明確的類型,比如通過Int?轉(zhuǎn)化為Int,就需要解包。
2016-05-26
已采納回答 / 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
講師回答 / liuyubobobo
現(xiàn)在第三季已經(jīng)完整上線了,快快去學(xué)習(xí)吧!http://t.imooc.com/comment/663?謝謝你的支持!
2016-05-22
已采納回答 / liuyubobobo
這個(gè)問題涉及到swift語言調(diào)用函數(shù)的語法規(guī)則。先這么記,學(xué)習(xí)到后面“函數(shù)”的時(shí)候會(huì)詳細(xì)講哦。學(xué)完“函數(shù)”一章再回來看就一定懂了!
2016-05-08