Stop SPAMMING your API from a UISearchController

When using the UISearchController be careful!

Steven Curtis
3 min readMar 23, 2022

Prerequisites:

You will need to be familiar with the basics of Swift and able to start a Playground (or similar)

and be able to create a UITableView programatically

This article builds on my article A Basic UISearchController (Swift Tutorial)

Here is the accompanying video, if you prefer your information in that format:

Before we start

Difficulty: Beginner | Easy | Normal | Challenging

This article has been developed using Xcode 13.0, and Swift 5.3

Terminology:

SearchViewController: A view controller that manages the display of search results based on interactions with a search bar.

This Project

Oh, if you’d like the code for this it is on…

--

--