Changes in new versions / Swift 4.1
Conditional conformance
Synthesized Equatable and Hashable
compactMap instead of flatMap
The #canImport check
The targetEnvironment(simulator) condition
Recursive constraints on associated types
Recursive constraints on associated types
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