Skip to content

elegantchaos/CollectionExtensions

Repository files navigation

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.

About

Swift Foundation Collection class extensions and utilities.

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages