#import <Z3MenuJournalView.h>
Definition at line 14 of file Z3MenuJournalView.h.
◆ appear:()
- (void) appear: |
|
(CGRect) |
bound |
|
|
implementation |
Definition at line 39 of file Z3MenuJournalView.m.
41 UIColor *blueCheeseSpotColor = [UIColor colorWithRed:196.0/256 green:220.0/256 blue:180.0/256 alpha:1.0];
42 [
self setBackgroundColor:blueCheeseSpotColor];
44 CGRect timePickerFrame = CGRectMake(2.0, 2.0, bound.size.width - 6.0,
timePickerHeight);
46 [mealJournalDatePick setMinuteInterval:10];
47 int finishedDinnerTenMinutesAgoSeconds = - (10.0 * 60.0);
48 NSDate *dinnerTime = [NSDate dateWithTimeIntervalSinceNow:finishedDinnerTenMinutesAgoSeconds];
49 [mealJournalDatePick setDate:dinnerTime];
50 NSDate *now = [NSDate dateWithTimeIntervalSinceNow:0];
51 [mealJournalDatePick setMaximumDate:now];
52 [
self addSubview:mealJournalDatePick];
55 CGRect starRatingFrame = CGRectMake(2.0,
60 [starRating setDelegate:self];
61 [
self addSubview:starRating];
63 CGRect checkButtonFrame = CGRectMake(bound.size.width -
checkButtonWidth - 6.0,
67 checkButton = [[UIButton alloc] initWithFrame:checkButtonFrame];
70 [checkButton setTitle:@"â 0œ“" forState:UIControlStateNormal];
72 [checkButton addTarget:self action:@selector(clickedCheck) forControlEvents:UIControlEventTouchUpInside];
73 [
self addSubview:checkButton];
◆ clickedCheck()
Definition at line 82 of file Z3MenuJournalView.m.
84 NSLog(
@"MenuJournalView.clickedCheck");
85 [menuJournalDelegate didTapCheckFooter];
◆ getMealJournalDate()
- (NSDate *) getMealJournalDate |
|
|
|
◆ heightRequirement()
- (float) heightRequirement |
|
|
|
|
implementation |
◆ initWithDelegate:()
- (instancetype) initWithDelegate: |
|
(id<Z6MenuJournalDelegate>) |
delegate |
|
◆ newRating::()
Definition at line 77 of file Z3MenuJournalView.m.
79 NSLog(
@"MenuJournalView.newRating");
80 [menuJournalDelegate didTapRatingControl:rating];
The documentation for this class was generated from the following files: