|
Hello. I have just finished day 67 and solved challenges for instaFilter. I have added 4 slider for different filters to my view. I want sliders to be active if currentFilter have parameter for this slider parameter. For example if I choose Crystallize, only "radius" slider should be active. Although I can not change Intensity parameter and Text color become gray as expected when I switched to crystallize, slider color still looks active (but I can not change the value as should be). Do you have any idea, why the slider looks active although it is inactive?
|
|
Posted on Paul's birthday in 2022. Happy birthday, sensei!Dre has a slider question:
You posted a lot of code! Much of your code has nothing to do with your problem. I think this is part of what clouds new developers' minds. Their quest is to get their application working. But all the excess code fogs the essence of the problem. Loading images? Instead of solving your solution's goals, take a step back to the playground, and just pick ONE piece of equipment and have fun! Every playground has a slide! Let's have fun with that for a while. Focus on the slide (Slider!).
Please return here and share with us what you learned. Also would like to know how you implemented your improved solution. Nick at Swiftful Thinking has some additional thoughts on Sliders(). See -> Swiftful Thinking: Sliders |
SPONSORED AppSweep by Guardsquare helps developers automate the mobile app security testing process with fast, free scans. By using AppSweep’s actionable recommendations, developers can improve the security posture of their apps in accordance with security standards like OWASP.
Sponsor Hacking with Swift and reach the world's largest Swift community!
You need to create an account or log in to reply.
All interactions here are governed by our code of conduct.
Link copied to your pasteboard.