Stack Overflow isn't always great.
This week, I realized that it's not always great to have Stack Overflow (SO) as a solution. While looking for a way to constraint input for a SwiftUI TextField, I found
this thread suggesting custom bindings, onReceive handlers, and more.
Many would probably copy the solution from the highest-voted answer and continue their journey. However, I was unsatisfied and decided to look further.
Don't get me wrong: SO helps me and many others daily. However, answers can be outdated or just not the best way to solve things. Keep that in mind next time and go the extra mile to find a more satisfying solution. This week's article results from my extended journey after not feeling completely satisfied.
Enjoy this week's SwiftLee Weekly!