Packages authored by RougeWare
These packages are available as a package collection, usable in Xcode 13 or the Swift Package Manager 5.5.
A few lazy-initialization container types for Swift 5.1
A set of Swift utilities for dealing with rectangles, including a way to generically build your own!
Ever need a string but also wish it weren't a String type?
Some tools to make functions easier to use in Swift
Uses exactly two floating-point variables to average indefinitely many numbers with a constant amount of memory usage.
For when you know you're gonna get to something, but right now you have other priorities.
I hate how Swift `String`s don't let you access their characters with `Int`s. This package lets you do just that.
Some tools to make Optionals easier to use
Ever wonder why Swift crashes if you access a collection the wrong way? Me too here's some extensions
Uses `DispatchQueue` to ensure a value is only read from and written to by one thread at a time
Turn an NSColor or UIColor into an image
Some types and extensions for those using AppKit and UIKit in the same project
Formalizes an object's ability to be multiplied by something
Some tools to help you work with Swift ranges
Some tools to help with drawing in Swift
A small Swift library that implements SemVer 2.0.0. This is designed to be simple to use and to easily fit into any Swift codebase.