Challenge: Your First Bug | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/5993-your-first-ios-and-uikit-app/lessons/15

Hello.

When the properties of the slider indicate minimum 1 and maximum 100, and I put any default value (25,50,75, etc), when running the app it always starts with default value 1. However, if I set minimum value 0,1 maximum 1, and I put any double value (0,2 , 0,5 0,7 , etc), then if it recognizes it when launching the app. I don’t know why that happens, it only recognizes the default values ​​when they are double values. XCode 12 swift 14.1