A2UI releases Swift implementation 0.12.0 with changes to screen configuration

The A2UI project published version 0.12.0 of its Swift implementation on GitHub on 23 November. SwiftUI environment values for accessing component catalogs and screen metadata are now read-only. The release also adds notifications when data writes are rejected and support for drawing SVG arcs.
Supply the catalog when creating a screen
In a breaking change, the environment values for component catalogs, the default catalog ID and screen metadata are now read-only. The development team says to supply the catalog when creating a screen and update metadata through the object that manages the screen’s state. Catalogs can still be added after initialization. Screens created after the addition can use them. Existing screens continue to use their original catalogs.
Report rejected writes as errors
When a data model rejects a write from a two-way binding, the system now reports the error to the screen’s handler and an outbound listener. The model’s data stays intact. The team also changed the criteria for accepting certain regular expressions to avoid prolonged processing.
Render arcs in SVG
The release now renders elliptical arcs in paths in the SVG image format. Icons that previously lost arc segments can now render circles and rounded shapes.