MMMenuItemCell Class Reference
| Inherits from | UICollectionViewCell |
| Declared in | MMMenuItemCell.h MMMenuItemCell.m |
Overview
A custom collection view cell that represents
a menu item. The UI layout resides in an
external XIB file, namely
Resources/XIB/MenuItemCell.xib
Tasks
-
titleViewproperty -
priceLabelproperty -
descriptionViewproperty -
ratinglabelproperty -
restrictedImageproperty -
ratingBgproperty -
menuImageViewproperty
Properties
descriptionView
- The label that displays a brief description of
@property (nonatomic, weak) IBOutlet UITextView *descriptionViewDiscussion
- the menu item.
Declared In
MMMenuItemCell.hmenuImageView
- The image view where the picture of the menu item is
@property (nonatomic, weak) IBOutlet UIImageView *menuImageViewDiscussion
- loaded.
Declared In
MMMenuItemCell.hpriceLabel
- The label that displays the price of
@property (nonatomic, weak) IBOutlet UILabel *priceLabelDiscussion
- the menu item.
Declared In
MMMenuItemCell.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
MMMenuItemCell.hratinglabel
- The label that displays the current rating for a
@property (nonatomic, weak) IBOutlet UILabel *ratinglabelDiscussion
- menu item.
Declared In
MMMenuItemCell.h