UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>

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?



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


cleaned up my build and solved....


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.