-
-
Notifications
You must be signed in to change notification settings - Fork 95
/
Copy pathTrackingViewController.h
50 lines (39 loc) · 1.97 KB
/
TrackingViewController.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
43
44
45
46
47
48
49
50
//
// FirstViewController.h
// GPSLogger
//
// Created by Aaron Parecki on 9/17/15.
// Copyright © 2015 Esri. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <MapKit/MapKit.h>
@interface TrackingViewController : UIViewController <MKMapViewDelegate, UIGestureRecognizerDelegate>
@property BOOL usesMetricSystem;
@property (strong, nonatomic) IBOutlet UISlider *sendIntervalSlider;
@property (strong, nonatomic) IBOutlet UILabel *sendIntervalLabel;
@property (strong, nonatomic) IBOutlet UIButton *sendNowButton;
@property (strong, nonatomic) IBOutlet UILabel *locationLabel;
@property (strong, nonatomic) IBOutlet UILabel *locationSpeedLabel;
@property (strong, nonatomic) IBOutlet UILabel *locationSpeedUnitLabel;
@property (strong, nonatomic) IBOutlet UILabel *locationAltitudeLabel;
@property (strong, nonatomic) IBOutlet UILabel *locationAgeLabel;
@property (strong, nonatomic) IBOutlet UILabel *motionTypeLabel;
@property (strong, nonatomic) IBOutlet UILabel *queueLabel;
@property (strong, nonatomic) IBOutlet UILabel *queueAgeLabel;
- (IBAction)sendIntervalDragged:(UISlider *)sender;
- (IBAction)sendIntervalChanged:(UISlider *)sender;
- (IBAction)sendQueue:(id)sender;
- (IBAction)locationAgeWasTapped:(id)sender;
- (IBAction)locationCoordinatesWasTapped:(UILongPressGestureRecognizer *)sender;
@property (strong, nonatomic) IBOutlet UIView *tripView;
@property (strong, nonatomic) IBOutlet UIImageView *currentModeImage;
@property (strong, nonatomic) IBOutlet UILabel *currentModeLabel;
- (IBAction)tripModeWasTapped:(id)sender;
@property (strong, nonatomic) IBOutlet UILabel *tripDurationLabel;
@property (strong, nonatomic) IBOutlet UILabel *tripDurationUnitLabel;
@property (strong, nonatomic) IBOutlet UILabel *tripDistanceLabel;
@property (strong, nonatomic) IBOutlet UILabel *tripDistanceUnitLabel;
@property (strong, nonatomic) IBOutlet UIButton *tripStartStopButton;
- (IBAction)tripStartStopWasTapped:(id)sender;
@property (strong, nonatomic) IBOutlet MKMapView *mapView;
@end