Inherits from UICollectionViewCell
Declared in MMMenuItemReviewCell.h
MMMenuItemReviewCell.m

Overview

  • A custom collection view cell that represents

  • a menu item 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’
@property (nonatomic, weak) IBOutlet UIImageView *likeImageView

Discussion

  • button.

Declared In

MMMenuItemReviewCell.h

nameLabel

  • The label that represents the name of the
@property (nonatomic, weak) IBOutlet UILabel *nameLabel

Discussion

  • reviewer.

Declared In

MMMenuItemReviewCell.h

rating

  • The menu item rating model object that this
@property MMMenuItemRating *rating

Discussion

  • cell represents.

Declared In

MMMenuItemReviewCell.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

MMMenuItemReviewCell.h

ratinglabel

  • The label that contains the rating that a reviewer
@property (nonatomic, weak) IBOutlet UILabel *ratinglabel

Discussion

  • has given a menu item.

Declared In

MMMenuItemReviewCell.h

reviewView

  • The label that contains a portion of the review
@property (nonatomic, weak) IBOutlet UITextView *reviewView

Discussion

  • that an individual has written.

Declared In

MMMenuItemReviewCell.h

upVoteCountLabel

  • The label that contains the number of ‘up votes’ that
@property (nonatomic, weak) IBOutlet UILabel *upVoteCountLabel

Discussion

  • a review has.

Declared In

MMMenuItemReviewCell.h