Repository navigation
Swift 2.0 Release
Released on 2015-09-16.
- Added Swift 2.0 / Xcode 7.0 support
- While API parity should exist between v1 and v2, the library attempts to support the new error handling support in Swift 2.0 when you call the
byIndex/byKeymethods respectively (the subscript methods don't currently support throwing exceptions). - Note that the existing subscript methods can still be used, though.
- While API parity should exist between v1 and v2, the library attempts to support the new error handling support in Swift 2.0 when you call the
- Changed
.Errorto.XMLError- this is part of handling Swift 2.0's new error handling support.- The prior
.Errorcase received anNSErrortype whereas the new.XMLErrorcase receives anErrorwhich is anErrorTypewith various cases to show which part of the parsing threw an error (i.e.Attribute,AttributeValue,Key,Index, orInit).
- The prior