#import <Z3MenuApprovalView.h>
Definition at line 13 of file Z3MenuApprovalView.h.
◆ appear:()
- (void) appear: |
|
(CGRect) |
bound |
|
|
implementation |
Definition at line 35 of file Z3MenuApprovalView.m.
37 [
self setBackgroundColor:[UIColor brownColor]];
40 cancelButton = [[UIButton alloc] initWithFrame:cancelButtonFrame];
41 [cancelButton setTitle:@"clear" forState:UIControlStateNormal];
42 [cancelButton addTarget:self action:@selector(clickedCancel) forControlEvents:UIControlEventTouchUpInside];
43 [
self addSubview:cancelButton];
46 CGRect approvalButtonFrame = CGRectMake(bound.size.width/2 + 2, 2.0, bound.size.width/2 - 8,
makeMealBarViewHeight - 4.0);
47 approvalButton = [[UIButton alloc] initWithFrame:approvalButtonFrame];
48 [approvalButton setTitle:@"Bravo" forState:UIControlStateNormal];
49 [approvalButton addTarget:self action:@selector(clickedApproval) forControlEvents:UIControlEventTouchUpInside];
50 [
self addSubview:approvalButton];
◆ clickedApproval()
Definition at line 62 of file Z3MenuApprovalView.m.
64 NSLog(
@"MenuApprovalBar.clickedApproval");
65 [menuApprovalDelegate didTapBravoFooter];
◆ clickedCancel()
Definition at line 56 of file Z3MenuApprovalView.m.
58 NSLog(
@"MenuApprovalBar.clickedCancel");
59 [menuApprovalDelegate didTapClearFooter];
◆ heightRequirement()
- (float) heightRequirement |
|
|
|
|
implementation |
◆ initWithDelegate:()
- (instancetype) initWithDelegate: |
|
(id<Z6MenuApprovalDelegate>) |
delegate |
|
The documentation for this class was generated from the following files: