Creating a search bar for SwiftUI

Creating a search bar for SwiftUI

SwiftUI does not offer a SearchBar View out of the box yet. But we can fall back to using UISearchBar of UIKit.

[…]

The functionality is done. We could stop. Although according to the Apple Human Interface Guidelines for iOS on search bars we should provide hints and context in the search bar.

[…]