Swiftpack.co - Package - scottmatthewman/SwiftUIControls

SwiftUIControls

A collection of SwiftUI controls for use in other applications.

SearchBar

A search control, bound to a text string, that mimics some of the behaviour of UIKit's UISearchBar.

Usage

import SwiftUI
import SwiftUIControls

struct ContentView: View {
  @State private var searchText: String = ""
  
  var body: some View {
    SearchBar(text: $searchText)
  }
}

Github

link
Stars: 0

Dependencies

Used By

Total: 0