Swiftpack.co - elegantchaos/CollectionExtensions as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by elegantchaos.
elegantchaos/CollectionExtensions v1.1.9
Swift Foundation Collection class extensions and utilities.
⭐️ 0
🕓 5 weeks ago
iOS macOS tvOS
.package(url: "https://github.com/elegantchaos/CollectionExtensions.git", from: "v1.1.9")

Test results Latest release swift 5.3 shield swift 5.6 shield swift dev shield Platforms: macOS, iOS, 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
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

1.1.4
1 year ago

Added some array extensions.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics