github siteline/swiftui-introspect 26.3.0

latest release: 1.6.0
one hour ago

What's Changed

  • Changed: On iOS, tvOS and visionOS, introspection places plain views around its receiver instead of child view controllers, so tab bar, navigation and split view controllers behave as if the introspection weren't there. Custom types that use withReceiverSelector or withAncestorSelector keep receiving a view controller. #535
  • Performance: Introspection finds its target faster, especially when one container holds many introspected views. #535 #536
  • Fixed: Introspecting a scroll view that a UIKit view controller hosts, such as through a child UIHostingController, no longer stops that view controller's navigation bar from tracking it, so a transparent scrollEdgeAppearance and collapsing large titles work as they do without introspection. After its target is first found, customize runs one more time. #542
  • Fixed: Introspecting a NavigationStack that is a tab's root view keeps the tab's behavior: on iOS 26, selecting a search tab expands its search field from the tab bar, and reselecting a tab pops its stack to the root view. customize also runs the latest closure of a view that's re-created before its target is found. (thanks @mvanhorn) #533
  • Fixed: Unavailability messages for .toggle(style: .button) on macOS 26 and .list(style: .bordered) on macOS 10.15 and 11. #528
  • Docs: An article on idempotent customization, linked from the README. #543

Swift Package Manager

.package(url: "https://github.com/siteline/swiftui-introspect", from: "26.3.0")
.product(name: "SwiftUIIntrospect", package: "swiftui-introspect")

Full Changelog: 26.2.0...26.3.0

Don't miss a new swiftui-introspect release

NewReleases is sending notifications on new releases.