Modern Swift documentation

Small libraries.
A shared place to learn.

Build with focused Swift libraries. Find the guide, explore a working example, and go deeper with the API reference.

Explore the modules

The collection

Choose your starting point.

13 libraries · Guides and API references

Storage

Cabinet

Typed files and directories, throwing I/O, Codable storage, and optional ZIP archives.

Read the documentation

Application foundations

Calder

Focused Swift utilities and UI components for Apple applications.

Read the documentation

Storage

Lockbox

Typed Keychain access for passwords, credentials, and protected secrets.

Read the documentation

Testing

Mocksmith

Record calls, configure stubs, and verify interactions in Swift tests.

Read the documentation

Application foundations

Pathways

Encode typed routes as URLs and decode them back into Swift values.

Read the documentation

Code generation

RoundTrip Generator

Describe an API in Swift and generate clients, server scaffolding, and OpenAPI contracts.

Read the documentation

Networking

RoundTrip

Build HTTP requests and compose REST clients for Apple platforms.

Read the documentation

Application foundations

Skein

Compose dependency graphs with explicit lifetimes and isolation.

Read the documentation

Application foundations

SkeinVapor

Integrate Skein with Vapor applications, request scopes, and asynchronous resource cleanup.

Read the documentation

User interfaces

MarkdownUI

Render and edit Markdown in SwiftUI with composable styling.

Read the documentation

Testing

SnapshotTesting

Verify images, previews, text, and structured values with snapshots.

Read the documentation

Storage

SwiftStash

Cache values in memory and on disk with explicit eviction policies.

Read the documentation

Concurrency

TaskLoom

Compose asynchronous operations with cancellation, retries, and timeouts.

Read the documentation