Swiftpack.co - elegantchaos/CollectionExtensions as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
elegantchaos/CollectionExtensions
Swift Foundation Collection class extensions and utilities.
.package(url: "https://github.com/elegantchaos/CollectionExtensions.git", from: "v1.1.7")

Test results Latest release swift 5.3 shield swift 5.4 shield swift 5.5 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

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Release Notes

1.1.4
26 weeks ago

Added some array extensions.

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