From 6fc4200aebf749037311274159fc017636e4648e Mon Sep 17 00:00:00 2001 From: Sergey Korolev Date: Sat, 18 Jul 2026 19:56:20 +0300 Subject: [PATCH 1/2] Drop the minimum SDK note from the Button page 1.2.0 shipped in April 2025 and anyone starting now is on 1.2.x or 1.3.x, so the warning spent its space on a case that no longer comes up. The version floor itself still holds and is recorded in the registry's README, next to the source it constrains. --- docs/components/button.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/docs/components/button.md b/docs/components/button.md index 60ea16a..810f4a4 100644 --- a/docs/components/button.md +++ b/docs/components/button.md @@ -81,13 +81,6 @@ Hotwire.registerBridgeComponents([ Until it is registered, `supported` stays false on the web side and only the fallback is rendered. -::: warning Minimum SDK -The Swift component requires **`hotwire-native-ios` 1.2.0 or newer**. In 1.2.0 -`BridgeComponent.delegate` became a weak optional; the component reaches its -view controller through `delegate?.destination`, which does not compile against -1.1.x. -::: - The component overrides `name` as `override nonisolated class var name`. The base declaration is `nonisolated`, so an app built with `SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor` — the Xcode 26 default for new From 2728967b6b8168f625cd058a67187dc4e3e7c0d9 Mon Sep 17 00:00:00 2001 From: Sergey Korolev Date: Sat, 18 Jul 2026 20:03:23 +0300 Subject: [PATCH 2/2] Drop the nonisolated note too Same reasoning: MainActor isolation is the Xcode 26 default, so the component's nonisolated override is simply correct and the mistake the note guarded against cannot be reached from the source on the page. --- docs/components/button.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/docs/components/button.md b/docs/components/button.md index 810f4a4..9914aa9 100644 --- a/docs/components/button.md +++ b/docs/components/button.md @@ -81,12 +81,6 @@ Hotwire.registerBridgeComponents([ Until it is registered, `supported` stays false on the web side and only the fallback is rendered. -The component overrides `name` as `override nonisolated class var name`. The -base declaration is `nonisolated`, so an app built with -`SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor` — the Xcode 26 default for new -projects — rejects a plain `override class var name` as an actor-isolation -mismatch. - ## The contract Component name: `button`.