SwiftUI Tutorial: Searchable
Create a search bar with only few lines of code

Before iOS 15, SwiftUI doesn’t have any built-in search modifier. The most common way to create one is by hard coding a search functionality on TextField, then creating a view that will display the search results. All of this will be a thing of the past when majority of Apple users moves to iOS 15 in the near future. Because there’s a…