ShawnMoore / XMLParsing

XMLEncoder & XMLDecoder using the codable protocol in Swift 4.2
MIT License
332 stars 100 forks source link

Added missing visibility declarations for `XMLHeader` making it actually usable #22

Closed regexident closed 3 years ago

regexident commented 6 years ago

Doing …

let data = try encoder.encode(self, withRootKey: "catalog", header: XMLHeader(version: 1.0))

… fails outside of XMLParsing's project due to XMLHeader.init(version:) having internal visibility.

Added a bunch of other missing public/internal/fileprivate while I was at it.