Currently used internally by UIKit/AppKit and WebKit. Available since iOS 18 / macOS 15.
I wrote a guide on how to access it without Apple's internal SDK 👇
https://gist.github.com/Kyle-Ye/8a7f12487a4ce2ca6ac9e087b09d4a20
Swift 6.2 now supports multiple @_typeEraser attributes, enabling SwiftUI's new DebugReplaceableView for faster Xcode Previews on iOS 26+.
Here's how it works under the hood.
https://kyleye.top/posts/debugreplaceableview-multiple-type-erasers/
New blog post is out:
Debugging SwiftUI with AttributeGraph: From DisplayList to Transactions
In-depth analysis of debugging SwiftUI using AttributeGraph API
Read here:
https://kyleye.top/posts/swiftui-debug-analysis/?lang=en
From: @KyleYe
https://mastodon.world/@KyleYe/115057062767971478
Note: all the information is subject to change without notice.
Please do not use this in production environment. Only use it as a debug tool for inspecting SwiftUI internal Bug.