Here is what i would like to do:
- User enters a search term into the UISearchBar
handleSearchForTerm:
method creates a NSURLConnection to webservice to retrieve data- In
connectionDidFinishLoading
, parse the JSON and refresh the tableView with results.
I can only get the search display controller to work when i pre-populate the table view, having an array of the data, with a separate mutable array of search results, but this is not what i would like.
Is what i am proposing achievable?
Thanks.