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

Day 16 formatting textField

Forums > 100 Days of SwiftUI

Having a problem with day 16 TextField formatting in the section "reading user input"

the .format:currency(code: "USD") throws up a message "No exact matches in call to initizer"

has anyone else had and solved this?

Thanks!

3      

i have seen an earlier topic on this issue now which suggests "i need to clean up my build" so off to figure that out....

i am using xcode15 and ios 17

3      

cleaned up my build and solved....

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.