SwiftGen / SwiftGenKit

The framework behind SwiftGen, responsible for parsing various resources and turn them into Stencil contexts
MIT License
9 stars 8 forks source link

Switch to DOM-based XML parser #18

Closed djbe closed 7 years ago

djbe commented 7 years ago

Tried SWXMLHash, but it doesn't support XPath queries, which removes one of the main advantages of DOM-based parsing, and is needed for finding segue connections in a storyboard.

We could use the built in (NS)XMLDocument parser, but it has a higher memory footprint, and antiquated syntax. Still, if we don't want the dependency, we can always switch to the built in Foundation parser.

Fixes #17.