DEV Community

Nathan Mattes
Nathan Mattes

Posted on • Originally published at zeitschlag.net on

1 2

100 Days of SwiftUI — Day 30

Aaaaaand I'm done with Day 30. After having learned about UITextChecker and Lists yesterday, I put them to use today.

I also learned how to use onCommit with Textfield and onAppear, which seems to be viewDidAppear in UIKit-land. I'm still quite impressed, how easily I can build a UI and I like, how easily I can react when the user enters text in a Textfield, for example.

But trailing closures still confuse me, as I use AutoComplete in Xcode pretty heavily — I'm lazy — and every single time, I have to delete some code before adding the trailing closure. That annoys me. Can I turn this off, somehow?

Until tomorrow! 👋

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay