DEV Community

Discussion on: How to call a function when a slider changes in SwiftUI

Collapse
 
retch profile image
Retch • Edited

Helped me a lot, but in "set:" it should be called either newVal or newValue.

Collapse
 
maeganwilson_ profile image
Maegan Wilson

Thanks for catching that! I'll update the post :)