RecommendationViewController Class Reference

Inherits from UIViewController
Conforms to CLLocationManagerDelegate
GravityClientDelegate
UITableViewDataSource
UITableViewDelegate
Declared in RecommendationViewController.h
RecommendationViewController.m

Other Methods

  tableView

@property (weak, nonatomic) IBOutlet UITableView *tableView

– trackButtonTap:

- (IBAction)trackButtonTap:(id)sender

– recommendButtonTap:

- (IBAction)recommendButtonTap:(id)sender

Other Methods

– initWithNibName:bundle:

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil

– viewDidLoad

- (void)viewDidLoad

– didReceiveMemoryWarning

- (void)didReceiveMemoryWarning

– 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 *)request

Parameters

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 *)request

Parameters

recommendation

the recommendation

request

the relevant request object

Discussion

Called when recommendation is received for a request

Declared In

GravityClient.h