WWDC22 SALE: Save 50% on all my Swift books and bundles! >>

Bug in the code

Forums > SwiftUI

I am not sure where I should post this but I am having an issue when the data is saved to firebase. If I enter "123456" it saves "12345" but if I enter "1234567" it saves correctly.

Im not sure what steps to take or what needs to be posted to get some assistants. If anyone can point me in the right direction it would be greatly appreciated.


Can you post some code?


I'm not sure what part of my code needs to be posted, but I have done some more testing. On Xcode 12.4 everything works fine but when I copy the code to my computer with Xcode 13.3.1 thats when I have the problem.



Save 50% in my Black Friday sale.

SAVE 50% To celebrate WWDC22, all our books and bundles are half price, so you can take your Swift knowledge further without spending big! Get the Swift Power Pack to build your iOS career faster, get the Swift Platform Pack to builds apps for macOS, watchOS, and beyond, or get the Swift Plus Pack to learn advanced design patterns, testing skills, and more.

Save 50% on all our books and bundles!

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.