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

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

reviewView

The label that contains a portion of the review that an individual has written.

@property (nonatomic, weak) IBOutlet UITextView *reviewView

Declared In

MMRestaurantReviewCell.h

upVoteCountLabel

The label that contains the number of ‘up votes’ that a review has.

@property (nonatomic, weak) IBOutlet UILabel *upVoteCountLabel

Declared In

MMRestaurantReviewCell.h