Two things I couldn't manage to do...
1. Prevent a unit being selected in the "two" when changing the "from" to the same value.
2. Clear the 1.0 default value onFocus.
I'd like to revisit this down the line and address these.
I'm not quite on track with the #100DaysOfSwiftUI... I've done some kind of reading/tutorial watching every day, but haven't caught up on the practicals.
Finally got round to the Challenge for Day 19 after getting Project 1 done in the week.
#iosdev #swiftui
Making sure I've definitely got my head around Structs and Classes in Swift, and exploring how a class in Swift compares to a class in PHP.
ChatGPT is great for a bit of clarification here, along with some practical testing of the examples in xcode!
Finally going back and catching up on the challenges from the last few days!
Day 9:
Not bad... Had to refer back to a lesson for the formatting of the return initially, but it was fine once simplified!
I'm 5 episodes into "The Last Dance" and there's not been a single mention of Space Jam yet... can't believe it!
I've also managed to not look into buying a pair of Air Jordans... so that's a win at least!