Skip to content

Instantly share code, notes, and snippets.

View connor-ricks's full-sized avatar
🥳

Connor Ricks connor-ricks

🥳
View GitHub Profile
import SwiftUI
#warning("TODO: <Connor> Make handles generic views so they are customizable rather than assuming what people want. (Provide defaults)")
#warning("TODO: <Connor> Use my custom @StateBinding property wrapper to allow consumers to optionally pass a binding to the bools for isExpanded, isMoving, isResizing. Then they can react in the parent, or they can not pass a binding and let the view handle the state internally.")
#warning("TODO: <Connor> General cleanup of calculations and code density.")
// MARK: - ViewManipulation
struct ViewManipulation: OptionSet {