MMRestaurantReviewCell Class Reference
Inherits from | UICollectionViewCell |
Declared in | MMRestaurantReviewCell.h MMRestaurantReviewCell.m |
Overview
A custom collection view cell that represents
a restaurant review. The UI layout resides in an
external XIB file, namely
Resources/XIB/MenuItemReviewCell.xib
Tasks
-
rating
property -
nameLabel
property -
reviewView
property -
ratinglabel
property -
ratingBg
property -
likeImageView
property -
upVoteCountLabel
property -
menuItemName
property
Properties
likeImageView
An image view that contains the image for the ‘up vote’ button.
@property (nonatomic, weak) IBOutlet UIImageView *likeImageView
Declared In
MMRestaurantReviewCell.h
menuItemName
Menu Item name Label
@property (nonatomic, weak) IBOutlet UILabel *menuItemName
Declared In
MMRestaurantReviewCell.h
nameLabel
The label that represents the name of the reviewer.
@property (nonatomic, weak) IBOutlet UILabel *nameLabel
Declared In
MMRestaurantReviewCell.h
rating
The menu item rating model object that this cell represents.
@property MMMenuItemRating *rating
Declared In
MMRestaurantReviewCell.h
ratingBg
The view that the rating label resides in. The background color for this view is set to a light grey color.
@property (nonatomic, weak) IBOutlet UIView *ratingBg
Declared In
MMRestaurantReviewCell.h
ratinglabel
The label that contains the rating that a reviewer has given a menu item.
@property (nonatomic, weak) IBOutlet UILabel *ratinglabel
Declared In
MMRestaurantReviewCell.h