Skip to content

Releases: sinoru/swift-property-list

Release list

v0.0.1

v0.0.1 Pre-release
Pre-release

Choose a tag to compare

@sinoru sinoru released this 15 Aug 16:20
v0.0.1
332bf00

Added

  • PropertyListValue, an enum over the shapes a property list can hold, bridging
    to and from the Any tree that UserDefaults and PropertyListSerialization
    deal in. bool stays distinct from integer, and unsignedInteger covers only
    what Int64 cannot hold.
  • Literal, subscript, description, and Data conveniences for PropertyListValue,
    along with its Encodable and Decodable conformances.
  • PropertyListValueEncoder and PropertyListValueDecoder, a Codable pair that
    reads and writes a PropertyListValue tree directly instead of round-tripping
    through serialized bytes. Numbers convert across integer and real at every depth.
  • The Value and ValueCoder package traits, both enabled by default, so a
    consumer that only reads a property list can skip the coder machinery.
  • Support for macOS 12, Mac Catalyst 15, iOS 15, tvOS 15, watchOS 8, visionOS 1
    and later, along with every platform Foundation builds for. Everything is
    available everywhere. Building the package requires Swift 6.3 or later.

Full Changelog: https://github.com/sinoru/swift-property-list/commits/v0.0.1