Skip to content

Latest commit

 

History

History
5 lines (4 loc) · 537 Bytes

File metadata and controls

5 lines (4 loc) · 537 Bytes

This directory contains code from Point-Free Episode: Composable SwiftUI Bindings: The Problem

Now that we know that SwiftUI state management seems biased towards structs, let’s fix it. We’ll show how to write custom transformations on bindings so that we can use enums to model our domains precisely without muddying our views, and it turns out that case paths are the perfect tool for this job.