Esri / arcgis-maps-sdk-swift-toolkit

Mapping components that will simplify your Swift app development with the ArcGIS Maps SDK for Swift.
https://developers.arcgis.com/swift
Apache License 2.0
25 stars 7 forks source link

`FeatureFormView` - More performance improvements for multiline text #725

Closed dfeinzimer closed 2 months ago

dfeinzimer commented 2 months ago

Ref Apollo 649

This is a follow-up to #722.

It creates a second initializer for RepresentedUITextView, so we now have an initializer that takes a bound string and another that takes two callbacks (text changed and editing ended). Using the callback initializer, we can directly update the element's value, bypassing slow updates to the bound SwiftUI property.