A Basic UISearchController (Swift Tutorial)

A simple mini project

Steven Curtis
2 min readNov 18, 2021
Photo by Marten Newhall on Unsplash

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

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 https://github.com/stevencurtis/SwiftCoding/tree/master/BasicSearchController

Or a video?

What it does

The idea is that you can type to search in this tableview:

--

--