Skip to content

Instantly share code, notes, and snippets.

View rogelin's full-sized avatar
:octocat:

Rogelin rogelin

:octocat:
View GitHub Profile
import SwiftUI
/// Supplies an observable object to a view’s hierarchy.
///
/// The purpose of `WithBindable` is to make it possible to instantiate
/// observable objects from environment values, while keeping the object
/// alive as long as the view is rendered.
///
/// For example:
///