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.10
Swift Foundation Collection class extensions and utilities.
⭐️ 0
🕓 1 year ago
iOS macOS tvOS
.package(url: "https://github.com/elegantchaos/CollectionExtensions.git", from: "v1.1.10")

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: 1 year ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

1.1.4
3 years ago

Added some array extensions.

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