MMMenuItemViewController Class Reference
| Inherits from | UITableViewController |
| Conforms to | MMDBFetcherDelegate UICollectionViewDataSource UICollectionViewDelegate UIPopoverControllerDelegate UITableViewDataSource UITextViewDelegate |
| Declared in | MMMenuItemViewController.h MMMenuItemViewController.m |
Tasks
-
currentMenuItemproperty -
currentMerchantproperty -
reviewViewFlagproperty -
popOverControllerproperty -
itemNameproperty -
userReviewFieldproperty -
activeFieldproperty -
itemRatingproperty -
reviewViewproperty -
itemDescriptionproperty -
itemImageproperty -
itemRatingViewproperty -
menuModificationsViewproperty -
ratingButtonproperty -
eatenThisButtonproperty -
ratingproperty -
ratingsCollectionViewproperty -
reviewSegmentproperty -
currentOrientationproperty -
– shareMenuItem: -
– rateItem: -
– saveButton: -
– clearButton: -
– iveEatenThis:
Properties
activeField
Current Selected Text View
@property (nonatomic, weak) IBOutlet UITextView *activeFieldDeclared In
MMMenuItemViewController.hcurrentMenuItem
The item that the user touched before
@property MMMenuItem *currentMenuItemDeclared In
MMMenuItemViewController.hcurrentMerchant
The current mechant of the menu item
@property MMMerchant *currentMerchantDeclared In
MMMenuItemViewController.hcurrentOrientation
Current Orientation of the device.
@property (nonatomic) UIDeviceOrientation currentOrientationDeclared In
MMMenuItemViewController.heatenThisButton
I’ve eaten this button
@property (nonatomic, weak) IBOutlet UIButton *eatenThisButtonDeclared In
MMMenuItemViewController.hitemDescription
The menu items description
@property (nonatomic, weak) IBOutlet UITextView *itemDescriptionDeclared In
MMMenuItemViewController.hitemImage
The menu items description
@property (nonatomic, weak) IBOutlet UIImageView *itemImageDeclared In
MMMenuItemViewController.hitemName
The label for the item name
@property (nonatomic, weak) IBOutlet UILabel *itemNameDeclared In
MMMenuItemViewController.hitemRating
The Items Rating Label
@property (nonatomic, weak) IBOutlet UILabel *itemRatingDeclared In
MMMenuItemViewController.hitemRatingView
The menu items rating
@property (nonatomic, weak) IBOutlet UIView *itemRatingViewDeclared In
MMMenuItemViewController.hmenuModificationsView
The tablview that holds the avaliable Restrictions for the menu item
@property (nonatomic, weak) IBOutlet UITextView *menuModificationsViewDeclared In
MMMenuItemViewController.hpopOverController
Popover view controller
@property (nonatomic, strong) UIPopoverController *popOverControllerDeclared In
MMMenuItemViewController.hrating
Current Rating of menu Item
@property (nonatomic, strong) NSNumber *ratingDeclared In
MMMenuItemViewController.hratingButton
Rate button
@property (nonatomic, weak) IBOutlet UIButton *ratingButtonDeclared In
MMMenuItemViewController.hratingsCollectionView
Menu Item View for showing reviews.
@property (nonatomic, weak) IBOutlet UICollectionView *ratingsCollectionViewDeclared In
MMMenuItemViewController.hreviewSegment
Switch the ratings view to show top rated first or most recent
@property (nonatomic, strong) UISegmentedControl *reviewSegmentDeclared In
MMMenuItemViewController.hInstance Methods
clearButton:
- (IBAction)clearButton:(id)senderParameters
- sender
UIButton
Declared In
MMMenuItemViewController.hiveEatenThis:
Current user has eaten the menu item.
- (IBAction)iveEatenThis:(id)senderParameters
- sender
UIButton
Declared In
MMMenuItemViewController.hrateItem:
Rate the menu item button selected
- (IBAction)rateItem:(id)senderParameters
- sender
UIButton
Declared In
MMMenuItemViewController.h