Search and Filter Table View Swift Xcode Tutorial - Search Bar and Scope Buttons

187 Просмотры
Издатель
Todays Swift and Xcode Tutorial. I give an example of how to search a table view using a search bar as well as implement some filter tabs using scope buttons. We also implement a Navigation Bar so that the filter and search UI has some where to show from.

Filter buttons or scope buttons are a great way to make it easier for the user to filter a table view list fast and in this tutorial we will ensure that our search text and scope buttons work together.

The ability to search and filter based on a custom class is a a great skill for any beginner iOS developer to know how to implement.

This iOS app development tutorial is written in Swift, using UIKit in Xcode 12.

In todays example we build upon a previous tutorial where we created a table view using a custom class.

Tutorial 1 - Table View Example
Source Code: https://github.com/codeWithCal/TableViewExample
Link: https://youtu.be/I0Qeq7wBmNM

Tutorial 2 (This video) - Search and Filter Table View
Source Code: https://github.com/codeWithCal/TableViewExample/tree/SearchFilter

⏱️TIMESTAMPS
00:00 - Intro
00:45 - Nav Bar
01:27 - Swift Filter & Search

#iOSDevelopment #SearchBar #SearchController #ScopeButtons
Категория
Язык программирования Swift
Комментариев нет.