TEAM LICENSES: Save money and learn new skills through a Hacking with Swift+ team license >>

Day 24, Project 3, Challenge part 1

Forums > 100 Days of SwiftUI

Hi everyone, i got stuck with this one and was getting a lot of bugs but i finally solved it. I was getting bugs because we changed the tipPercentages to 0..<101, so when it was reading form the array, which only had about 5 items in it, it would crash... Hope this helps someone (took me 4 hours to solve this😫)

3      

Hacking with Swift is sponsored by RevenueCat.

SPONSORED Take the pain out of configuring and testing your paywalls. RevenueCat's Paywalls allow you to remotely configure your entire paywall view without any code changes or app updates.

Learn more here

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.