Hi all,

sorry for my poor english. i am brazilian.

I have an app with 2 tabs. On first tab I search data on my database and i
store the search terms. On second tab called history I show the terms and
when i select one term on tableview I want to call the first tab and search
automatically using the term selected. How i do it.

My app structure

tab bar controller
     navigation controller (search) - first tab
          view controller
                 search bar
                 table view
      navigation controller (history) - second tab
           view controller
                  table view

this is the method where I select one term

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(
NSIndexPath *)indexPath {


  UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];

 NSString *searchTerm = cell.textLabel.text;


        //call and search on first tab (how??)

}


thanks guys

jr abc
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to