AnyView | Apple Developer Documentation
An AnyView allows changing the type of view used in a given view hierarchy. Whenever the type of view used with an AnyView changes, the old hierarchy is destroyed and a new hierarchy is created for the new type.
To navigate the symbols, press Up Arrow, Down Arrow, Left Arrow or Right Arrow No items were found 1 item was found {number} items were found. Tab back to navigate through them. re looking for can't be found."},"color-scheme":{"select":"Select a color scheme preference","auto":"Auto","dark":"Dark","light":"Light"},"accessibility":{"strike":{"start":"start of stricken text","end":"end of stricken text"},"code":{"start":"start of code block","end":"end of code block"},"skip-navigation":"Skip Navigation","in-page-link":"in page link"},"select-language":"Select the language for this page","icons":
Explore this link on the map →related reading
- allowsHitTesting(_:) | Apple Developer Documentationdeveloper.apple.com
- id(_:) | Apple Developer Documentationdeveloper.apple.com
- ViewBuilder | Apple Developer Documentationdeveloper.apple.com
- Configuring views | Apple Developer Documentationdeveloper.apple.com
- Using stacks to arrange views | Apple Developer Documentationdeveloper.apple.com
- onChange(of:initial:_:) | Apple Developer Documentationdeveloper.apple.com
- Layout | Apple Developer Documentationdeveloper.apple.com
- Group | Apple Developer Documentationdeveloper.apple.com
- Impeccable: The missing upgrade to Anthropic's impeccable skillimpeccable.style
- tag(_:includeOptional:) | Apple Developer Documentationdeveloper.apple.com
- ObservableObject | Apple Developer Documentationdeveloper.apple.com
- State | Apple Developer Documentationdeveloper.apple.com