title: How to implement searchbar if the tableview is loaded from a dictionary?
body: <p>I have a table view and adding items to that like this.`  </p>
  
  <pre><code> NSDictionary *memberInfo = [self.currentChannel infoForMemberWithID:memberID];
  
      memberinfo=memberInfo;
  
    cell.textLabel.text = [NSString stringWithFormat:@"%@",[memberinfo objectForKey:@"name"]];
    cell.detailTextLabel.text = [NSString stringWithFormat:@"%@",[memberinfo objectForKey:@"status"]];
  
  
      cell.textLabel.backgroundColor = [UIColor clearColor];
      cell.detailTextLabel.backgroundColor = [UIColor clearColor];  
  
    return cell;
  </code></pre>
  
  <p>`and it was working fine.Now i want to add a searchbar on to that.i need to load the tableview according to the matched string.But i am loading the tableview like this.I know how to search in an array.I am using </p>
  
  <pre><code>- (void)searchBar:(UISearchBar *)searchBar textDidChange:(NSString *)searchText.i want to load the table view according to the match of the searchstring ,Can anybody know this?
  </code></pre>