views:

330

answers:

0

Here is what i would like to do:

  1. User enters a search term into the UISearchBar
  2. handleSearchForTerm: method creates a NSURLConnection to webservice to retrieve data
  3. 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.