Home
Categories
EXPLORE
True Crime
Comedy
Society & Culture
Business
News
Sports
TV & Film
About Us
Contact Us
Copyright
© 2024 PodJoint
Podjoint Logo
US
00:00 / 00:00
Sign in

or

Don't have an account?
Sign up
Forgot password
https://is1-ssl.mzstatic.com/image/thumb/Podcasts115/v4/81/1a/f8/811af848-e8a2-a16f-7140-1390ba4f999a/mza_4037948398361091679.png/600x600bb.jpg
The iOS Dev Diary
Jay Versluis
36 episodes
1 month ago
Join your friendly next-door hacker Jay Versluis for tips and tricks on iOS and macOS Development with Xcode and Objective-C.
Show more...
Technology
RSS
All content for The iOS Dev Diary is the property of Jay Versluis and is served directly from their servers with no modification, redirects, or rehosting. The podcast is not affiliated with or endorsed by Podjoint in any way.
Join your friendly next-door hacker Jay Versluis for tips and tricks on iOS and macOS Development with Xcode and Objective-C.
Show more...
Technology
http://pinkstone.co.uk/wp-content/uploads/powerpress/iOS-Podcast-Icon-2014.png
Building a searchable UITableView in iOS 9 – Part 1
The iOS Dev Diary
23 minutes 25 seconds
10 years ago
Building a searchable UITableView in iOS 9 – Part 1

In this 4 part course I’ll show you how to build a searchable UITableView using iOS 9.1 and Xcode 7.1.

* Part 1 will talk you through how to build a UITableView with dummy data
* In Part 2 I’ll show you how to use a UISearchController to display a second table view
* In Part 3 we’ll discuss how to filter results using an NSPredicate
* And in Part 4 we’ll see how to communicate those search results to the second table view via KVO.

The whole course is about 50 minutes long, and I’ll explain details step by step. All code is Objective-C, and the the full project I’m building is available on GitHub.
Sounds interesting? Join me now and I’ll see you on the other side 😉
Demo Project
Here’s the code I’ve built during the screencast. As promised, I’ve also implemented the UISearchControllerDelegate methods – just in case you need them:

* https://github.com/versluis/Table-Search-2015

Further Reading

* https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UISearchController/
* https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UISearchControllerDelegate_Ref/index.html#//apple_ref/occ/intf/UISearchControllerDelegate
* https://developer.apple.com/library/prerelease/ios/documentation/Cocoa/Reference/Foundation/Classes/NSPredicate_Class/
* How to use Key-Value Observing in Objective-C

The Apple Class References aside, I’ve also put together written instructions on how to create this project in my next article. If you prefer written instructions, go check it out here – it covers the same steps as these videos 🙂
Watch the full course in one convenient playlist:Catch this episode on my iOS Dev Diary Podcast:
The iOS Dev Diary
Join your friendly next-door hacker Jay Versluis for tips and tricks on iOS and macOS Development with Xcode and Objective-C.