UIsearch rearrange the indexpath.row
- by abuyousif
i have a problem that i have spend about a week trying to solve it, but no luke up to now.
i have a uisearchbar implmented into my table view. and i also have two nsarray, one for tilte and one for discription. when i search through the array of the titles it returns the rights search, but when i click on a row that the search came with, i get "row 0" if i click on the first row. my question is how to make a connection between the two arrays so when the search rearrange the titles based on the user search the discription array correspond to the same row the title is at.
i appreciate any help.