iPhone:UISearchbar issue
<p>Hello Friends,</p>

<p>I have add UISearchbar programmatically in my app for searching functionality but I facing issue is that I want to differentiate between NSString &amp; NSNumber in UISearchbar so give me any idea or link to develop this functionality.</p>

<pre><code>-(void) searchBar:(UISearchBar *)searchBar textDidChange:(NSString *)searchText
{
    NSLog(@"searchBar textDidChange");
    NSString *searchTextField = [NSString stringWithFormat:@"%@",[searchText stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]]];
    NSLog(@"Search Text String:---&gt;%@",searchTextField);
    if ([searchTextField isEqualToString:@""]) 
    {
        NSLog(@"Remove searchData");
        [self.searchData removeAllObjects];
        [self.searchTableView reloadData];
    }

}
</code></pre>

<p>Thanks in advance.</p>
