Xcode – How do I call a completion block from SwiftUI view using a search bar?
I would like to make a search bar in this view but I am wondering how I go about calling my completion block which fills the data. At the moment I have the completion block in .onAppear but when I…