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
-
restaurantNameLabel
property -
categoryLabel
property -
ratinglabel
property -
distanceLabel
property -
addressLabel
property -
ratingBg
property -
thumbnailImageView
property
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