#import <Z6MenuItemControlbar.h>
|
id< Z6MenuItemControlbarDelegate > | delegate |
|
Definition at line 13 of file Z6MenuItemControlbar.h.
◆ addMenuItemOnToday:()
- (void) addMenuItemOnToday: |
|
(UIButton *) |
sender |
|
|
implementation |
Definition at line 54 of file Z6MenuItemControlbar.m.
55 NSLog(
@"MenuItemControlbar.addMenuItemOnToday");
56 [_delegate addMenuItemOnToday:sender];
◆ appear:()
- (void) appear: |
|
(CGRect) |
bound |
|
|
implementation |
◆ fireRecipeCheck()
Definition at line 48 of file Z6MenuItemControlbar.m.
50 NSLog(
@"MenuItemControlbar.fireRecipeCheck");
51 [_delegate fireRecipeCheck];
◆ heightRequirement()
- (float) heightRequirement |
|
|
|
|
implementation |
◆ initWithFrame:andDelegate:()
- (instancetype) initWithFrame: |
|
(CGRect) |
frame |
andDelegate: |
|
(id<Z6MenuItemControlbarDelegate>) |
delegate |
|
|
| |
Definition at line 21 of file Z6MenuItemControlbar.m.
21 :(CGRect)frame andDelegate:(id<Z6MenuItemControlbarDelegate>) dele
23 self = [
super initWithFrame:frame];
30 CGRect updateMenuIemButtonFrame = CGRectMake(2.0, 2.0, frame.size.width/2 - 4,
controlViewHeight);
31 updateMenuItemButton = [[UIButton alloc] initWithFrame:updateMenuIemButtonFrame];
32 [updateMenuItemButton setTitle:@"update USDA" forState:UIControlStateNormal];
33 [updateMenuItemButton addTarget:self action:@selector(fireRecipeCheck) forControlEvents:UIControlEventTouchUpInside];
34 [
self addSubview:updateMenuItemButton];
38 CGRect addToMenuButtonFrame = CGRectMake(frame.size.width/2 + 2, 2.0, frame.size.width/2 - 4,
controlViewHeight);
40 [menuItemTodayButton setTitle:@"add menu item" forState:UIControlStateNormal];
41 [menuItemTodayButton addTarget:self action:@selector(addMenuItemOnToday:) forControlEvents:UIControlEventTouchUpInside];
42 [
self addSubview:menuItemTodayButton];
◆ showBar:()
- (void) showBar: |
|
(Boolean) |
flag |
|
◆ delegate
- (id<Z6MenuItemControlbarDelegate>) delegate |
|
readwritenonatomicstrong |
The documentation for this class was generated from the following files: