Pass Functions as Closure Parameters To SwiftUI Views
Daily Coding Tip 029
You don’t always have to share an EnvironmentObject between SwiftUI views in order to give them access to the same methods. In fact you really shouldn’t do this in most cases, because most subviews should have very few responsibilities. It will help your debugging if you reduce the amount of data that each view can modify. If …



