Inherits from UITableViewCell
Declared in RestaurantCell.h
RestaurantCell.m

Overview

  • A custom table view cell that represents

  • a restaurant. This is used in MMMasterRestaurantTableViewController.

  • The UI layout resides in an external XIB file, namely

  • Resources/XIB/RestaurantTableCell.xib

Properties

addressLabel

  • The label that contains the address of the restaurant.
@property (nonatomic, weak) IBOutlet UILabel *addressLabel

Declared In

RestaurantCell.h

categoryLabel

  • The label that contains the category of the restaurant.
@property (nonatomic, weak) IBOutlet UILabel *categoryLabel

Declared In

RestaurantCell.h

distanceLabel

  • The label that contains the distance from the
@property (nonatomic, weak) IBOutlet UILabel *distanceLabel

Discussion

  • user’s location and the restaurant’s location.

Declared In

RestaurantCell.h

ratingBg

  • The view that the rating label resides in. The background
@property (nonatomic, weak) IBOutlet UIView *ratingBg

Discussion

  • color for this view is set to a light grey color.

Declared In

RestaurantCell.h

ratinglabel

  • The label that contains the rating of the restaurant.
@property (nonatomic, weak) IBOutlet UILabel *ratinglabel

Declared In

RestaurantCell.h

restaurantNameLabel

  • The label that contains the name of the restaurant.
@property (nonatomic, weak) IBOutlet UILabel *restaurantNameLabel

Declared In

RestaurantCell.h

thumbnailImageView

  • The image view that contains a small thumbnail image
@property (nonatomic, weak) IBOutlet UIImageView *thumbnailImageView

Discussion

  • of the restaurant.

Declared In

RestaurantCell.h