- Jan 8, 2006
- 836
- 0
- 0
i have a table with search bar that when you begin to type it narrows down your selections below the search bar. basically the first array let say has 4 names: (0)bob, (1)jim, (2)david, & (3)carl. when you select anyone one it loads their correct detailview based on the index (0,1,2,3). however, when you go to search and type d it narrows the table down to just (0)david which is now in row 0. so when you select david it loads bob from the original array.
someone told me to either retain the original value of indexPath.row (prior to the search), or pass it to a new index variable ... no idea how to do that lol
i can post code snippets or send project. so frustrating!
someone told me to either retain the original value of indexPath.row (prior to the search), or pass it to a new index variable ... no idea how to do that lol
i can post code snippets or send project. so frustrating!