In Swift 4.2 a new property wrapper @dynamicMemberLookup was introduced with SE-0195. The introduction reads This proposal introduces a new @dynamicMemberLookup attribute. Types that use it provide "dot" syntax for arbitrary names which are resolved at runtime - in a

swift tips