SearchViewController Class Reference
| Inherits from | UIViewController |
|---|---|
| Conforms to | GravityClientDelegate UISearchBarDelegate UITableViewDataSource UITableViewDelegate |
| Declared in | SearchViewController.h SearchViewController.m |
Other Methods
Other Methods
– tableView:numberOfRowsInSection:
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section– tableView:cellForRowAtIndexPath:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath– tableView:didSelectRowAtIndexPath:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath– searchBar:textDidChange:
- (void)searchBar:(UISearchBar *)searchBar textDidChange:(NSString *)searchText– didReceiveResponse:forRequest:
Called when response is received for a request
- (void)didReceiveResponse:(NSString *)response forRequest:(GravityRequest *)requestParameters
response |
the response |
|---|---|
request |
the relevant request object |
Discussion
Called when response is received for a request
Declared In
GravityClient.h
– didReceiveRecommendation:forRequest:
Called when recommendation is received for a request
- (void)didReceiveRecommendation:(GravityItemRecommendation *)recommendation forRequest:(GravityRequest *)requestParameters
recommendation |
the recommendation |
|---|---|
request |
the relevant request object |
Discussion
Called when recommendation is received for a request
Declared In
GravityClient.h