MMReviewPopOverViewController Class Reference
| Inherits from | UIViewController |
| Conforms to | MMDBFetcherDelegate UIPopoverControllerDelegate |
| Declared in | MMReviewPopOverViewController.h MMReviewPopOverViewController.m |
Overview
View Controller for the popover that is created when a user selects a review collection view cell.
Tasks
Other Methods
-
currentRatingproperty -
restaurantNameproperty -
menuItemNameproperty -
menuItemImageproperty -
descproperty -
likeproperty -
reportproperty -
editproperty -
likecountproperty -
labelBackproperty -
ratingLabelproperty -
popOverNavigationproperty -
menuItemproperty -
menuItemReviewproperty -
selectedRestaurantproperty -
reviewPopOverproperty -
callbackproperty -
popOverControllerproperty -
oldPopOverControllerproperty -
– submitReview: -
– cancelReview: -
– likeReview: -
– reportReview: -
– editReview:
Other Methods
Properties
callback
Call back variable
@property (nonatomic, copy) FinishCallback callbackDeclared In
MMReviewPopOverViewController.hcurrentRating
Number that is kept as the current rating for a review
@property (nonatomic, assign) CGFloat currentRatingDeclared In
MMReviewPopOverViewController.hdesc
Reverence to the text view that contains the menu item description
@property (nonatomic, weak) IBOutlet UITextView *descDeclared In
MMReviewPopOverViewController.hedit
Reference to the Edit button
@property (nonatomic, weak) IBOutlet UIButton *editDeclared In
MMReviewPopOverViewController.hlabelBack
Reference to the background for the rating display
@property (nonatomic, weak) IBOutlet UIView *labelBackDeclared In
MMReviewPopOverViewController.hlike
Reference to the Like button
@property (nonatomic, weak) IBOutlet UIButton *likeDeclared In
MMReviewPopOverViewController.hlikecount
Reference to the UILabel that contains the amount of times something has been liked
@property (nonatomic, weak) IBOutlet UILabel *likecountDeclared In
MMReviewPopOverViewController.hmenuItem
The menu item that the rating is about
@property (nonatomic, strong) MMMenuItem *menuItemDeclared In
MMReviewPopOverViewController.hmenuItemImage
Reference to the menu Item picture
@property (nonatomic, weak) IBOutlet UIImageView *menuItemImageDeclared In
MMReviewPopOverViewController.hmenuItemName
Reference to a UILabel containgin the Menu Item Name
@property (nonatomic, weak) IBOutlet UILabel *menuItemNameDeclared In
MMReviewPopOverViewController.hmenuItemReview
The review information for the menu item
@property (nonatomic, strong) MMMenuItemRating *menuItemReviewDeclared In
MMReviewPopOverViewController.holdPopOverController
Reference kept for the last popover.
@property (nonatomic, strong) UIPopoverController *oldPopOverControllerDeclared In
MMReviewPopOverViewController.hpopOverController
Reference kept for the current popover.
@property (nonatomic, strong) UIPopoverController *popOverControllerDeclared In
MMReviewPopOverViewController.hpopOverNavigation
Reference to the Navigation Controller that is used throughout the app.
@property (nonatomic, strong) MMBaseNavigationController *popOverNavigationDeclared In
MMReviewPopOverViewController.hratingLabel
Reference to the UILabel that displays the rating of the item
@property (nonatomic, weak) IBOutlet UILabel *ratingLabelDeclared In
MMReviewPopOverViewController.hreport
Reference to the Report button
@property (nonatomic, weak) IBOutlet UIButton *reportDeclared In
MMReviewPopOverViewController.hrestaurantName
Reference to a UILabel containing the Merchant Name
@property (nonatomic, weak) IBOutlet UILabel *restaurantNameDeclared In
MMReviewPopOverViewController.hInstance Methods
cancelReview:
Called if the cancel button is clicked @param sender
- (IBAction)cancelReview:(id)senderDeclared In
MMReviewPopOverViewController.heditReview:
Called if the edit button is clicked. @param sender
- (IBAction)editReview:(id)senderDeclared In
MMReviewPopOverViewController.hisUserLoggedInAsAGuest
Sets up popover based on whether or not a user has an account or not
- (void)isUserLoggedInAsAGuestDeclared In
MMReviewPopOverViewController.mlikeReview:
Called if the like button is clicked @param sender
- (IBAction)likeReview:(id)senderDeclared In
MMReviewPopOverViewController.hreportReview:
Called if the report button is clicked @param sender
- (IBAction)reportReview:(id)senderDeclared In
MMReviewPopOverViewController.h