func searchable(text: Binding<String>, placement: SearchFieldPlacement , prompt: Text?) -> some View
Marks this view as searchable, which configures the display of a search field.
func searchable(text: Binding<String>, placement: SearchFieldPlacement , prompt: LocalizedStringKey ) -> some View
Marks this view as searchable, which configures the display of a search field.
func searchable<S>(text: Binding<String>, placement: SearchFieldPlacement , prompt: S) -> some View
Marks this view as searchable, which configures the display of a search field.
func searchable<S>(text: Binding<String>, placement: SearchFieldPlacement , prompt: Text?, suggestions: () -> S) -> some View
Marks this view as searchable, which configures the display of a search field.
func searchable<S>(text: Binding<String>, placement: SearchFieldPlacement , prompt: LocalizedStringKey , suggestions: () -> S) -> some View
Marks this view as searchable, which configures the display of a search field.
func searchable<V, S>(text: Binding<String>, placement: SearchFieldPlacement , prompt: S, suggestions: () -> V) -> some View
Marks this view as searchable, which configures the display of a search field.
struct SearchFieldPlacement
A structure which defines the placement of a search field in a view hierarchy.