SearchViewController Class Reference

Inherits from UIViewController
Conforms to GravityClientDelegate
UISearchBarDelegate
UITableViewDataSource
UITableViewDelegate
Declared in SearchViewController.h
SearchViewController.m

Other Methods

  tableView

@property (weak, nonatomic) IBOutlet UITableView *tableView

Other Methods

– viewDidLoad

- (void)viewDidLoad

– didReceiveMemoryWarning

- (void)didReceiveMemoryWarning

– numberOfSectionsInTableView:

- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView

– 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

– timerFireMethod:

- (void)timerFireMethod:(NSTimer *)theTimer

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