RestaurantCell Class Reference
| 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
Tasks
-
restaurantNameLabelproperty -
categoryLabelproperty -
ratinglabelproperty -
distanceLabelproperty -
addressLabelproperty -
ratingBgproperty -
thumbnailImageViewproperty
Properties
addressLabel
- The label that contains the address of the restaurant.
@property (nonatomic, weak) IBOutlet UILabel *addressLabelDeclared In
RestaurantCell.hcategoryLabel
- The label that contains the category of the restaurant.
@property (nonatomic, weak) IBOutlet UILabel *categoryLabelDeclared In
RestaurantCell.hdistanceLabel
- The label that contains the distance from the
@property (nonatomic, weak) IBOutlet UILabel *distanceLabelDiscussion
- user’s location and the restaurant’s location.
Declared In
RestaurantCell.hratingBg
- The view that the rating label resides in. The background
@property (nonatomic, weak) IBOutlet UIView *ratingBgDiscussion
- color for this view is set to a light grey color.
Declared In
RestaurantCell.hratinglabel
- The label that contains the rating of the restaurant.
@property (nonatomic, weak) IBOutlet UILabel *ratinglabelDeclared In
RestaurantCell.h