Closed kazuhiro4949 closed 5 years ago
pull request: https://github.com/yahoojapan/SwiftyXMLParser/pull/20
Branch for Swift 4.2 : https://github.com/yahoojapan/SwiftyXMLParser/tree/swift4.2
I will merge it to master branch after Xcode10 GM is launched.
Swift4.2 has the following feature. https://github.com/apple/swift-evolution/blob/master/proposals/0195-dynamic-member-lookup.md
It enables us to implement a property dynamically.
If XML.Accessor has the feature, we can access XML elements with a dynamic property.