Changes in new versions / 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
The #file, #function and #line literals
This example is in the full version, available in the app stores:
Swift Recipes
App Store
Code Recipes
App Store
Already bought it? Sign in to your account