Swiftpack.co -  dunesailer/Utilities as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
A Swift package from Dunesailer Research featuring various useful utilities
.package(url: "https://github.com/dunesailer/Utilities.git", from: "2.0.6")

Dunesailer Utilities

Platforms Swift versions License Swift Package Manager compatible GitHub tag build

The Dunesailer Utilities are a Swift package containing a collection of utilities for projects of many types.


  • An LRU cache implementation (LRUCache)
  • A struct for representing reusable groups of probabilities (ProbabilityGroup)
  • A class for working with modifiable sets of randomly-selected items (RandomItemBag)
  • A property wrapper that maps data values to User Defaults automatically (propertyWrapper_UserDefaults)
  • A simple enumeration for working with the binary form of gender (BinaryGender)
  • Various extensions to standard datatypes to enhance their functionality


To install the Swift Package, please follow the steps below:

  • Add https://github.com/dunesailer/Utilities as a Swift Package Manager dependency to your project.
  • When asked to Choose Package Options, use the default settings provided by Xcode.
  • When asked to Add Package, add Dunesailer Utilities to your desired target(s).


The Dunesailer Utilities were written by B.T. Franklin (@btfranklin) from 2018 onward and are licensed under the MIT license. See LICENSE.md.


Stars: 2
Last commit: 4 days 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.

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