-
Notifications
You must be signed in to change notification settings - Fork 0
/
BPGraphOptionsViewController.h
42 lines (30 loc) · 1.38 KB
/
BPGraphOptionsViewController.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
37
38
39
40
41
42
//
// BPGraphOptionsViewController.h
// BPTracker
//
// Created by Robert Saccone on 8/29/12.
// Copyright (c) 2017 Robert Saccone. All rights reserved.
//
#import <UIKit/UIKit.h>
@class BPGraphOptionsViewController;
@class BPGraphSettings;
@protocol BPGraphOptionsViewControllerDelegate <NSObject>
- (BOOL)done:(BPGraphOptionsViewController *)viewController;
@end
@interface BPGraphOptionsViewController : UIViewController
@property(nonatomic, weak) IBOutlet UITextField *startDateField;
@property(nonatomic, weak) IBOutlet UITextField *endDateField;
@property(nonatomic, weak) IBOutlet UISwitch *systolicDataSwitch;
@property(nonatomic, weak) IBOutlet UISwitch *diastolicDataSwitch;
@property(nonatomic, weak) IBOutlet UISwitch *pulseDataSwitch;
@property(nonatomic, weak) IBOutlet UISwitch *legendDataSwitch;
@property(nonatomic, copy, readonly) BPGraphSettings *bpGraphSettings;
@property(nonatomic, assign, readonly) BOOL canceled;
@property(nonatomic, assign, readonly) BOOL saved;
// Designated initializer for this class.
- (id)initWithStartDateRangeMin:(NSDate *)startDateMin
endDateRangeMax:(NSDate *)endDateMax
graphSettings:(BPGraphSettings *)bpGraphSettings
viewControllerDelegate:(id<BPGraphOptionsViewControllerDelegate>)delegate;
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil;
@end