Releases: drmohundro/SWXMLHash
Releases · drmohundro/SWXMLHash
Feature - Added Deserialization Support
Bug Fix - Mixed Text/XML content
Released on 2016-01-27.
- Changed how text elements are parsed - instead of string concatenation, they're now added as first class TextElement instances. (fixes the problem with mixed text/XML in issue #33).
Feature - tvOS Support
Released on 2015-10-21.
- Added tvOS deployment target for CocoaPods and tvOS support
Feature - watchOS Support
Released on 2015-09-22.
- Added watchos deployment target for CocoaPods and watchOS support
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
/byKey
methods 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
.Error
to.XMLError
- this is part of handling Swift 2.0's new error handling support.- The prior
.Error
case received anNSError
type whereas the new.XMLError
case receives anError
which is anErrorType
with various cases to show which part of the parsing threw an error (i.e.Attribute
,AttributeValue
,Key
,Index
, orInit
).
- The prior
Bug Fix - Code Signing Options
Released on 2015-08-03.
- Changed code signing options on the project to not code sign for OSX and to target iOS Developer.
Feature - configure Method Added
Released on 2015-06-20.
- Add configure method off of
SWXMLHash
to allow for setting variable number of options.- At this time, the only options are
shouldProcessLazily
andshouldProcessNamespaces
. shouldProcessLazily
provides the same parsing as directly callinglazy
. I'm considering deprecating the top-levellazy
method in favor of having it be set inconfigure
, but I'm open to suggestions here (as well as to suggestions regarding theconfigure
method in general).shouldProcessNamespaces
provides the functionality requested in issue #30.
- At this time, the only options are
1.0 Released
Released on 2015-04-10.
- Lazy loading support is available (issue #11)
- Call
.lazy
instead of.parse
- Performance can be drastically improved when doing lazy parsing.
- Call
- See PR #26 for details on these:
- Remove automatic whitespace trimming - that will be a responsibility of the caller.
- Make umbrella header public.
- Introduce shared schemes.
- Xcode 6.3 and Swift 1.2 support.
- Published version 1.0.0 CocoaPod.
Bug Fix - Interleaved XML Bug
Released on 2015-02-26.
- Fixed bug with interleaved XML (issue #19)
Bug Fix - Mixed Content Bug
Released on 2015-02-23.
- Fixed bug where mixed content wasn't supported (i.e. elements with both text and child elements).