Protocol
LoadableView
public protocol LoadableView: View
A View that loads content through a Loader.
Relationships
Conforms To
View
Requirements
keyPath
var keyPath: ValueKeyPath?
The key path of the value on the loaded object, defaults to nil.
placeholder()
func placeholder() -> Placeholder
The placeholder to show while loading.
body(with:)
func body(with value: Value) -> Content
Creates a view using loaded content.
Parameters
| Name | Type | Description |
|---|---|---|
| value | Value |
Loaded content. |