Changes in new versions / Swift 4.2
The CaseIterable protocol
random(in:) instead of arc4random
Hashing with hash(into:)
The toggle() method
The #warning and #error directives
The removeAll(where:) method
The allSatisfy method
The @dynamicMemberLookup attribute
The @dynamicMemberLookup attribute
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