RecommendationViewController Class Reference
| Inherits from | UIViewController |
|---|---|
| Conforms to | CLLocationManagerDelegate GravityClientDelegate UITableViewDataSource UITableViewDelegate |
| Declared in | RecommendationViewController.h RecommendationViewController.m |
Other Methods
Other Methods
– initWithNibName:bundle:
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil– tableView:didSelectRowAtIndexPath:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath– tableView:accessoryButtonTappedForRowWithIndexPath:
- (void)tableView:(UITableView *)tableView accessoryButtonTappedForRowWithIndexPath:(NSIndexPath *)indexPath– tableView:cellForRowAtIndexPath:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath– tableView:numberOfRowsInSection:
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section– 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