Conduit v0.2.0 Release Notes

  • 💥 Breaking

    • ✂ Remove unnecessary casting to NSError on SessionTaskCompletion.
    • 0️⃣ XMLNode.children is no longer optional, defaults to empty array.

    ✨ Enhancements

    ✨ Enhancements to XMLNode class:

    • init has been improved to allow passing value, attributes and/or children (optional parameters).
    • nodes(named:) method finds an retrieves a list of descendant nodes matching the given name.
    • getValue() generic method returns the node text value, if any, converted to any given type that can be constructed from a string by conforming to LosslessStringConvertible.
    • get(_:) generic method returns the value of the first descendant node matching the given name, converted to any given type that can be constructed from a string by conforming to LosslessStringConvertible.

    🐛 Bug Fixes

    • None