Relative Content

Tag Archive for swiftswiftuicore-dataslider

How to check and set value in Slider?

I have a Slider,
it’s setting the value from hardcode @State private var vampiresCount = 3.0.
Now I have CoreData for Players, it’s saving Players names (tags) and I want to checking the players count in Slider, never before doing it and can’t find a solution. Thanks for any help!

SwiftUI / How to checking and set value in Slider from CoreData?

I have a Slider,
it’s setting the value from hardcode @State private var vampiresCount = 3.0.
Now I have CoreData for Players, it’s saving Players names (tags) and I want to checking the players count in Slider, never before doing it and can’t find a solution. Thanks for any help!