Alex Does Things Poorly

Alex does a variety of things poorly - swift, data science, datavis, ML, drawing, AR, unity, etc, etc.

19 June 2021

Swift UI Project 1, Day 2

by alex

Another day of 100 Days of SwiftUI on the books. Today we built the WeSplit UI and wired everything up.

My only significant change to today’s work was using a NumberFormatter to display the amount per person instead of using a c-style format string. I see that Apple added new formats to TextField in WWDC this year, but I’m not sure how that applies to output only Text views. I also added a header title to the result section since it’s just kinda hanging out there without an explanation.

tags: swift - swiftui