AITMONDO

A2UI releases Swift implementation 0.12.0 with changes to screen configuration

A smartphone screen shows round and rounded components. A hand is about to place another component on the screen.
Illustration of assembling and drawing on-screen components. AITMONDO (AI-generated).

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.

SwiftUI screen configuration is read-only. The release reports errors when writes are rejected and supports rendering arcs in SVG icons.
AITMONDO graphic based on primary sources.

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.

Primary sources