I have a table to show searchData in iOS with UISearchBar.
When i search with keywords, i retrieved data into NSMutableArray.
There is alot of data in NSMutableArray.
I just want to show about 20 datas in tableView.
Normally i used data to show in tableview,
return [self.myArrayData count];
It’s show entire data from NSMutableArray.
I want to limit data count to show in tableView.
How can i limit that data count?
Thanks for helping.
1 Answer