Member-only story

Swift 4.1: New Enhancements in placards

Navdeep Singh
3 min readMar 30, 2018

Swift 4.1 is now officially released and you can skim through the enhancements that have been implemented using the images below, information sourced from — The official Swift blog

Enhancement 1: SE-0143 Conditional Conformance

Conditional conformances express the notion that a generic type will conform to a particular protocol only when its type arguments meet certain requirements. For example, the Array collection can implement the Equatable protocol only when its elements are themselves Equatable

Enhancement 2: SE-0157 Support recursive constraints on associated types

This proposal lifts restrictions on associated types in protocols. Their constraints will be allowed to reference any protocol, including protocols that depend on the enclosing one (recursive constraints).

Enhancement 3: SE-0185 Synthesizing Equatable and Hashable conformance

--

--

Navdeep Singh
Navdeep Singh

Written by Navdeep Singh

Author of Reactive programming with Swift, Engineering Manager — Exploring possibilities with new Tech.

No responses yet