MMMenuItemViewController Class Reference
Inherits from | UITableViewController |
Conforms to | MMDBFetcherDelegate UICollectionViewDataSource UICollectionViewDelegate UIPopoverControllerDelegate UITableViewDataSource UITextViewDelegate |
Declared in | MMMenuItemViewController.h MMMenuItemViewController.m |
Tasks
-
currentMenuItem
property -
currentMerchant
property -
reviewViewFlag
property -
popOverController
property -
itemName
property -
userReviewField
property -
activeField
property -
itemRating
property -
reviewView
property -
itemDescription
property -
itemImage
property -
itemRatingView
property -
menuModificationsView
property -
ratingButton
property -
eatenThisButton
property -
rating
property -
ratingsCollectionView
property -
reviewSegment
property -
currentOrientation
property -
– shareMenuItem:
-
– rateItem:
-
– saveButton:
-
– clearButton:
-
– iveEatenThis:
Properties
activeField
Current Selected Text View
@property (nonatomic, weak) IBOutlet UITextView *activeField
Declared In
MMMenuItemViewController.h
currentMenuItem
The item that the user touched before
@property MMMenuItem *currentMenuItem
Declared In
MMMenuItemViewController.h
currentMerchant
The current mechant of the menu item
@property MMMerchant *currentMerchant
Declared In
MMMenuItemViewController.h
currentOrientation
Current Orientation of the device.
@property (nonatomic) UIDeviceOrientation currentOrientation
Declared In
MMMenuItemViewController.h
eatenThisButton
I’ve eaten this button
@property (nonatomic, weak) IBOutlet UIButton *eatenThisButton
Declared In
MMMenuItemViewController.h
itemDescription
The menu items description
@property (nonatomic, weak) IBOutlet UITextView *itemDescription
Declared In
MMMenuItemViewController.h
itemImage
The menu items description
@property (nonatomic, weak) IBOutlet UIImageView *itemImage
Declared In
MMMenuItemViewController.h
itemName
The label for the item name
@property (nonatomic, weak) IBOutlet UILabel *itemName
Declared In
MMMenuItemViewController.h
itemRating
The Items Rating Label
@property (nonatomic, weak) IBOutlet UILabel *itemRating
Declared In
MMMenuItemViewController.h
itemRatingView
The menu items rating
@property (nonatomic, weak) IBOutlet UIView *itemRatingView
Declared In
MMMenuItemViewController.h
menuModificationsView
The tablview that holds the avaliable Restrictions for the menu item
@property (nonatomic, weak) IBOutlet UITextView *menuModificationsView
Declared In
MMMenuItemViewController.h
popOverController
Popover view controller
@property (nonatomic, strong) UIPopoverController *popOverController
Declared In
MMMenuItemViewController.h
rating
Current Rating of menu Item
@property (nonatomic, strong) NSNumber *rating
Declared In
MMMenuItemViewController.h
ratingButton
Rate button
@property (nonatomic, weak) IBOutlet UIButton *ratingButton
Declared In
MMMenuItemViewController.h
ratingsCollectionView
Menu Item View for showing reviews.
@property (nonatomic, weak) IBOutlet UICollectionView *ratingsCollectionView
Declared In
MMMenuItemViewController.h
reviewSegment
Switch the ratings view to show top rated first or most recent
@property (nonatomic, strong) UISegmentedControl *reviewSegment
Declared In
MMMenuItemViewController.h
Instance Methods
clearButton:
- (IBAction)clearButton:(id)sender
Parameters
- sender
UIButton
Declared In
MMMenuItemViewController.h
iveEatenThis:
Current user has eaten the menu item.
- (IBAction)iveEatenThis:(id)sender
Parameters
- sender
UIButton
Declared In
MMMenuItemViewController.h
rateItem:
Rate the menu item button selected
- (IBAction)rateItem:(id)sender
Parameters
- sender
UIButton
Declared In
MMMenuItemViewController.h