SlideShare a Scribd company logo
1 of 7
Download to read offline
Swift 2.0 的新玩意
Hugo
6/27/2015
do-while 變成 repeat-while
Console output in Xcode 6.3.2
Debug area in Xcode 7.0 beta
更靈活的extension
if-case, for-case
Guard for Early Exits
不需要unwrap
defer 離開前做點事
如果發⽣生錯誤,檔案不會關閉
類似try/finally,離開區塊前⼀一定會執⾏行
Algorithm Chaining
swift2.0 不⽀支援

More Related Content

Viewers also liked

Testing in swift
Testing in swiftTesting in swift
Testing in swift
hugo lu
 
The linux networking architecture
The linux networking architectureThe linux networking architecture
The linux networking architecture
hugo lu
 

Viewers also liked (8)

Testing in swift
Testing in swiftTesting in swift
Testing in swift
 
WSO2 IoTS Device Manufacturer Guide
WSO2 IoTS Device Manufacturer GuideWSO2 IoTS Device Manufacturer Guide
WSO2 IoTS Device Manufacturer Guide
 
嵌入式測試驅動開發
嵌入式測試驅動開發嵌入式測試驅動開發
嵌入式測試驅動開發
 
Continuous integration
Continuous integrationContinuous integration
Continuous integration
 
網頁安全 Web security 入門 @ Study-Area
網頁安全 Web security 入門 @ Study-Area網頁安全 Web security 入門 @ Study-Area
網頁安全 Web security 入門 @ Study-Area
 
The linux networking architecture
The linux networking architectureThe linux networking architecture
The linux networking architecture
 
關於測試,我說的其實是......
關於測試,我說的其實是......關於測試,我說的其實是......
關於測試,我說的其實是......
 
Dev ops 簡介
Dev ops 簡介Dev ops 簡介
Dev ops 簡介