Skip to content

2.2.0

Latest

Choose a tag to compare

@orchetect orchetect released this 30 Jun 02:15

New

Abstractions

  • Added PropertyAccessor API family
    • PropertyAccessorSubject protocol to conform a type to vend property accessors
    • PropertyAccessor, AsyncPropertyAccessor protocols to implement properties
    • GenericPropertyAccessor, GenericAsyncPropertyAccessor concrete types for ad-hoc property implementations

Extensions

  • Sequence<RawRepresentable>: Added sortByRawValues() method
  • Sequence<RawRepresentable>: Added sortedByRawValues() method
  • Sequence<RawRepresentable>: Added sortByRawValue(using:) method
  • Sequence<RawRepresentable>: Added sortedByRawValue(using:) method
  • Sequence<RawRepresentable<String>>: Added sortedByRawValues(using:) method
  • Sequence<RawRepresentable<String>>: Added sorted/sort methods for localized and case-insensitive variants
  • Sequence<StringProtocol>: Added sorted/sort methods for localized and case-insensitive variants
  • Added ComparableSortComparator struct
  • Added RawRepresentableSortComparator struct

Changes

  • Added experimental Lifetimes Swift feature to package manifest