Inherits from UIViewController
Conforms to UISearchDisplayDelegate
UITableViewDataSource
UITableViewDelegate
Declared in MMMasterRestaurantTableViewController.h
MMMasterRestaurantTableViewController.m

Overview

The Restaurant table shown on the Restaurants tab. (Next to the map)

Properties

filteredrestaurants

Array of filtered Restaurants. IE. Searched items, By type ect…

@property (nonatomic, strong) NSArray *filteredrestaurants

Declared In

MMMasterRestaurantTableViewController.h

location

The current users location, if GPS is on

@property (nonatomic) CLLocation *location

Declared In

MMMasterRestaurantTableViewController.h

merchantSearchBar

The search bar that is displayed at the top of the tableview

@property IBOutlet UISearchBar *merchantSearchBar

Declared In

MMMasterRestaurantTableViewController.h

orderbySegmentControl

Tab bar for filtering restaurants by, Cuisine, Location, and Rating

@property IBOutlet UISegmentedControl *orderbySegmentControl

Declared In

MMMasterRestaurantTableViewController.h

restaurants

Array of Restaurants

@property (nonatomic, strong) NSArray *restaurants

Declared In

MMMasterRestaurantTableViewController.h

searchflag

Is the user searching?

@property (nonatomic) BOOL searchflag

Declared In

MMMasterRestaurantTableViewController.h

selectedRestaurant

User selected restaurant IE pressed

@property (nonatomic, strong) MMMerchant *selectedRestaurant

Declared In

MMMasterRestaurantTableViewController.h

tableView

The Tableview to put the data into.

@property IBOutlet UITableView *tableView

Declared In

MMMasterRestaurantTableViewController.h