Swift2.2
Swit3.0

Swift2.2 -> Swift 3.0 覚書

More than 1 year has passed since last update.


Swift 2.2 -> Swift 3.0

ErrorType -> ErrorProtocol

NSHTTPURLResponse -> HTTPURLResponse

NSUTF8StringEncoding -> String.Encoding.utf8

NSIndexPath -> IndexPath

NSNotificationCenter -> NotificationCenter

presentViewController(...) -> present(...)

dataUsingEncoding(...) -> data(...)

まだまだいっぱいあるが徐々に更新んしていく予定。