adwaita-swift/Documentation/Reference/structs/NavigationSplitView.md

41 lines
634 B
Markdown

**STRUCT**
# `NavigationSplitView`
A navigation split view widget.
## Properties
### `sidebar`
The sidebar's content.
### `content`
The split view's main content.
### `sidebarID`
The sidebar content's id.
### `contentID`
The main content's id.
## Methods
### `init(sidebar:content:)`
Initialize a navigation split view.
- Parameters:
- sidebar: The sidebar content.
- content: The main content.
### `container()`
Get the container of the navigation split view widget.
- Returns: The view storage.
### `update(_:)`
Update the view storage of the navigation split view widget.
- Parameter storage: The view storage.