-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPLItemDetailController.h
36 lines (28 loc) · 986 Bytes
/
PLItemDetailController.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
//
// PLItemViewController.h
// Plate
//
// Created by emileleon on 2/28/14.
// Copyright (c) 2014 Plate SF. All rights reserved.
//
#import <UIKit/UIKit.h>
@class PLMenuItem;
@protocol ItemDetailDelegate <NSObject>
- (void) dismissItemDetailView;
@end
@interface PLItemDetailController : UIViewController
{
PLMenuItem *menuItem;
}
- (id)initWithMenuItem:(PLMenuItem *)menuItem;
//- (void)setMenuItem:(PLMenuItem *)menuItem;
@property (weak, nonatomic) IBOutlet UIImageView *imageItem;
@property (weak, nonatomic) IBOutlet UILabel *labelProductName;
@property (weak, nonatomic) IBOutlet UITextView *textProductDescription;
@property (weak, nonatomic) IBOutlet UILabel *labelVegan;
@property (weak, nonatomic) IBOutlet UILabel *labelVegetarian;
@property (weak, nonatomic) IBOutlet UILabel *labelGlutenFree;
@property (weak, nonatomic) IBOutlet UILabel *labelNutFree;
@property (weak, nonatomic) id<ItemDetailDelegate> delegate;
- (IBAction)dismissModal:(id)sender;
@end