Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 673 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 673 Bytes

SwiftUIBinding

Demonstration project showing how to use Swift Binding to update a child model from the parent list using Combine and SwiftUI

Requirements

  • Xcode 11 beta
  • Swift 5.1 beta
  • iOS 13 beta

SwiftUI

Demonstrating the use of Binding to reference an object from a parent view in a child view.

The use of Binding allows the child to update the model and propagate the update to the parent thanks to the reference to the model. The view referencing the Binding property doesn’t have a copy of the object, but a direct reference.

External Links