Packages authored by RougeWare
These packages are available as a package collection, usable in Xcode 13 or the Swift Package Manager 5.5.
Atomic
Uses `DispatchQueue` to ensure a value is only read from and written to by one thread at a time
ColorSwatches
Turn an NSColor or UIColor into an image
CrossKitTypes
Some types and extensions for those using AppKit and UIKit in the same project
DrawingTools
Some tools to help with drawing in Swift
EfficientAverager
Uses exactly two floating-point variables to average indefinitely many numbers with a constant amount of memory usage.
Either
An `Either` type to use in Swift, allowing two different types to represent the same field
FunctionTools
Some tools to make functions easier to use in Swift
LazyContainers
A few lazy-initialization container types for Swift 5.1
MultiplicativeArithmetic
Formalizes an object's ability to be multiplied by something
OptionalTools
Some tools to make Optionals easier to use
RangeTools
Some tools to help you work with Swift ranges
RectangleTools
A set of Swift utilities for dealing with rectangles, including a way to generically build your own!
SafeCollectionAccess
Ever wonder why Swift crashes if you access a collection the wrong way? Me too here's some extensions
SemVer
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.
SerializationTools
Some tools to help y'all serialize stuff
SimpleLogging
For when you need something more advanced than print, but not a whole heavy system
SpecialString
Ever need a string but also wish it weren't a String type?
StringIntegerAccess
I hate how Swift `String`s don't let you access their characters with `Int`s. This package lets you do just that.
TODO
For when you know you're gonna get to something, but right now you have other priorities.
19 packages.