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


Some miscellaneous utilities and additions to collections.


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


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


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 year ago

Added some array extensions.

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