Michael Long
1 min readJul 7, 2019

--

Nice, but it would have been better if the SwiftUI integration was more of a two-way street.

You’re using the initialization code to set the initial state and the change handler to update state, but it would be nice to see an implementation that used Binding and Combine such that it mimicked the existing SwiftUI TextField mechanism.

Perhaps next time?

--

--

Michael Long
Michael Long

Written by Michael Long

I write about Apple, Swift, and SwiftUI in particular, and technology in general. I'm also a Lead iOS Engineer at InRhythm, a modern digital consulting firm.

Responses (1)