Swiftpack.co - Package - elegantchaos/CollectionExtensions

Test results Latest release swift 5.0 shield swift 5.1 shield swift 5.2 shield swift dev shield Platforms: macOS, iOS, tvOS, watchOS, Linux

Test results Latest release Swift 5.0 Platforms: iOS, macOS, tvOS, watchOS, Linux

CollectionExtensions

Some miscellaneous utilities and additions to collections.

Dictionary+Coercion

Adds stringWithKey, intWithKey, doubleWithKey as dictionary subscripts. They do their best to coerce the dictionary value to the correct type.

Dictionary+Merging

Adds some convenience methods which call on to merge(other, uniquingKeysWith: to either replace or keep all duplicate keys.

Github

link
Stars: 0

Dependencies

Used By

Total: 0

Releases

1.1 - 2020-07-28 11:07:43

Moved coercion stuff to Coercion package. Added sort-by-key-path to sequence.

1.0.2 - 2020-04-06 17:43:07

Added date coercions.

1.0.1 - 2020-03-09 19:14:28

Added coercion subscripts.

1.0.0 - 2020-02-07 15:54:19

First version.