A Mossy Stone

Growing moss of knowledge in Swift and SwiftUI

.onChange

.onChange modifier can be applied to any View.It can specify a property to monitor, and define an action to be kicked when the property value changes.

Test

This is my dog amiii She’s sleeping. Yeah yeah it’s great Kito