18 - (instancetype) initWithFrame:(CGRect)frame andDelegate:(
id<Z3DateTimeFocusDelegate>)delegate
20 self = [
super initWithFrame:frame];
24 NSLog(
@"DateTimeFocusView.initWithFrameAndDelegate: frame height: %3.2f", frame.size.height);
25 CGRect dateButtonFrame = CGRectMake(1, 1, frame.size.width - 2.0, 30);
26 dateButton = [[UIButton alloc] initWithFrame:dateButtonFrame];
27 [dateButton setBackgroundColor:[UIColor greenColor]];
28 [dateButton addTarget:self action:@selector(clickTopBar) forControlEvents:UIControlEventTouchDown];
29 [
self addSubview:dateButton];
35 NSLog(
@"DateTimeFocusView.clickTopBar");
36 [focusDelegate clickAction];
38 - (float) heightRequirement
43 - (void) appear:(CGRect)bound
45 NSLog(
@"DateTimeFocusView.appear: labelCaption: %@", _labelCaption);
47 _labelCaption =
@"Happy for now";
instancetype sharedInstance()
NSDateFormatter * mDateFormatter
id< U7ParamEditControlDelegate > delegate
Singleton interface to both core and remote data sources.
void labelizeButton:withText:(UIButton *targButton, [withText] NSString *txt)
id< Z3DateTimeFocusDelegate > focusDelegate