UIsearch rearrange the indexpath.row
Posted
by abuyousif
on Stack Overflow
See other posts from Stack Overflow
or by abuyousif
Published on 2010-05-04T10:26:49Z
Indexed on
2010/05/04
10:48 UTC
Read the original article
Hit count: 201
uisearchbar
|cocoa
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.
© Stack Overflow or respective owner