新版本的变更 / Swift 2.2
#selector instead of a string
associatedtype instead of typealias in a protocol
Removing ++ and --
Removing the C-style for loop
The #file, #function and #line literals
Removing var parameters
Comparing tuples
Checking the compiler version with #if swift
Removing the C-style for loop
此示例属于完整版,可在应用商店购买:
Swift Recipes
App Store
Code Recipes
App Store
已经购买?登录您的账户