title: How to Impliment Search bar in Table view for Contacts in ios
body: <p><strong>i have following code in viewdidload</strong></p>
  
  <pre><code>totalstring=[[NSMutableArray alloc]initWithObjects:@"a",@"b",@"c",@"d",@"e",@"f",@"g",@"h",@"i",@"j",@"k",@"l",@"m",@"n",@"n",@"o",@"p",@"q",@"r",@"s",@"s",@"t",@"u",@"v",@"w",@"x",@"y",@"z", nil];
  
  
  
  
  
  indid=indidvalue1;
  
  NSLog(@"the ind id value is %@",indid);
  
  serviceCall=[[Services alloc]init];
  
  NSString *contactsDisplay1=@"ContactDetails";
  
  NSDictionary *contactsDisplayDetails1 =@{@"IND_ID":indid};
  
  [serviceCall ContactsDisplayUrl:contactsDisplay1 ContactsDisplayDetails:contactsDisplayDetails1];
  [serviceCall setDelegate:self];
  </code></pre>
  
  <p><strong>code for implimenting search bar</strong></p>
  
  <pre><code>{
  
  
      filteredstring =[[NSMutableArray alloc]init];
  
      for (NSString *str in totalstring )
      {
  
       NSRange stringrange =[str rangeOfString:searchText options:NSCaseInsensitiveSearch];
  
          if(stringrange.location!= NSNotFound)
          {
              [filteredstring addObject:str];
          }
      }
  }
  [tableView reloadData];
  </code></pre>
  
  <p><strong>code for table view</strong></p>
  
  <pre><code>UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:simpleTableIdentifier];
  
  if (cell == nil)
  {
      cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:simpleTableIdentifier];
  }
  if (tableView == self.searchDisplayController.searchResultsTableView)
  {
      cell.textLabel.text = [searchResultsArray objectAtIndex:indexPath.row];
  } else
  {
      UIFont *myfont=[UIFont fontWithName:@"Arial" size:35];
      cell.textLabel.text = [contactNameSplitDisplayArray objectAtIndex:indexPath.row];
      cell.detailTextLabel.text=[relationTypeSplitDisplayArray objectAtIndex:indexPath.row];
      cell.textLabel.font=myfont;
  }
  return cell;
  </code></pre>
  
  <p>How can i implement search bar in table view for contacts in story board ?I am new to iOS
  ?
  and how to implement plus button and dots button within the table view?</p>