@@ -392,6 +392,11 @@ with the native layout direction, and participate in measurement and placement.
392392navigation titles and Back behavior. Application components must not create a new
393393window to navigate.
394394
395+ For a pushed UIKit screen that owns the full bottom edge, pass
396+ ` { hidesTabBar = true } ` as the third argument to `ns.HostingController(view,
397+ onDisappear, options)` before calling ` navigation: push (...)`. This sets the
398+ destination controller's native ` hidesBottomBarWhenPushed ` property.
399+
395400For model-driven routes, ` require("ui.navigation").Path ` stores plain values
396401and maps each ` value.type ` to a destination builder. Pass the path and builders
397402to `NavigationStack { path = path, destinations = { message = function(value)
@@ -703,7 +708,8 @@ ns.Button {
703708
704709Button ` size ` and ` weight ` set the native title font, including in XML:
705710` <Button title="Applications" style="link" size="11" /> ` . Omitting them preserves
706- the standard system button typography.
711+ the standard system button typography. ` symbolSize ` sets an SF Symbol's point
712+ size independently of title text.
707713
708714UIKit buttons use the native unbordered system appearance when ` style ` is
709715omitted. Set ` style="bordered" ` or ` style="borderedProminent" ` when the design
@@ -723,12 +729,25 @@ AppKit also supports `cornerRadius`; UIKit clips the effect view to that radius.
723729These APIs require macOS 26 or iOS 26. Do not replace them with blur and
724730opacity layers.
725731
732+ ` <GlassEffectContainer spacing="14"> ` groups nearby glass surfaces using
733+ ` NSGlassEffectContainerView ` or ` UIGlassContainerEffect ` , matching SwiftUI's
734+ ` GlassEffectContainer ` . Its spacing controls when the surfaces begin to merge.
735+
736+ Inside a glass input capsule, use ` <TextField style="plain" /> ` so its native
737+ bezel and background do not draw a second border. The default text field keeps
738+ its platform bezel for standalone use.
739+
726740``` xml
727741<GlassEffect style =" regular" cornerRadius =" 18" >
728742 <VStack padding =" 16" ><Label text =" Native glass" /></VStack >
729743</GlassEffect >
730744```
731745
746+ ` <Menu> ` presents native ` UIMenu ` actions on UIKit and an ` NSPopUpButton ` menu
747+ on AppKit. Use ` systemImage ` and ` style="glass" ` for an icon-only glass trigger;
748+ each ` <MenuItem action="name" /> ` resolves ` name ` through the template's
749+ ` actions ` table.
750+
732751### ` UIKit.SpeechRecognizer(callback, locale) `
733752
734753Creates a microphone dictation session that writes recognition results through
@@ -1422,6 +1441,7 @@ Templates use the `.etlua` extension to reflect that they contain etlua
14221441| ` <TextField> ` | ` ns.TextField ` | ` ns.TextField ` |
14231442| ` <Button title="…"> ` | ` ns.Button ` | ` ns.Button ` |
14241443| ` <GlassEffect> ` | ` NSGlassEffectView ` | ` UIVisualEffectView ` + ` UIGlassEffect ` |
1444+ | ` <GlassEffectContainer> ` | ` NSGlassEffectContainerView ` | ` UIVisualEffectView ` + ` UIGlassContainerEffect ` |
14251445| ` <VStack> ` / ` <HStack> ` | flex containers | flex containers |
14261446| ` <FlowStack> ` | wrapping rows of native views | wrapping rows of native views |
14271447| ` <HSplit> ` | ` ns.HSplit ` (NSSplitView) | — |
0 commit comments