-4

I want to create an application which has a search bar in it. When i start typing in the search bar the text should be displayed in the tableview below. Can anybody please help me with this. I have seen various codes but none is working.

vikingosegundo
  • 52,040
  • 14
  • 137
  • 178
Lokesh
  • 9
  • 2

1 Answers1

0

Apple released a sample code: TableSearch. Especially have a look at the MainView.xib. You can see there, how a search bar and a search display controller and the File's owner work together.

See the MainViewController Class, how it changes two different Array.

vikingosegundo
  • 52,040
  • 14
  • 137
  • 178