-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRootViewController.h
More file actions
56 lines (43 loc) · 1.84 KB
/
RootViewController.h
File metadata and controls
56 lines (43 loc) · 1.84 KB
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
51
52
53
54
55
56
#import <ExternalAccessory/ExternalAccessory.h>
//add for 20160712
#import "FlightTimeDelegate.h"
#import "MBProgressHUD.h"
#import "GetSchedule.h"
#import "ScheduleTableCell.h"
#import <MapKit/MapKit.h>
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger, FlightStatus) {
arrival = -1,
onTime = 0,
scheduleChange = 1,
delay = 2,
cancel = 3
};
@class RootViewController;
//他是老闆要叫getschedule這個class幫忙做事
//@protocol rootDelegate <NSObject>
//@optional
//- (NSMutableArray *)jsonArrival:(RootViewController *)rootView comeFrom:(NSString *)from;
////-(NSString *)getAirApiticket:(RootViewController *)rootView;
//@end
@interface RootViewController : UIViewController <UIActionSheetDelegate,UITableViewDelegate,UIScrollViewDelegate,MBProgressHUDDelegate,ScheduleCellDelegate,CLLocationManagerDelegate,UIGestureRecognizerDelegate>
//@property(nonatomic,assign) id<rootDelegate>rootdelegate;
@property(nonatomic,retain)UITableView *tableView;
@property(nonatomic,strong)UIScrollView *scrollView;
//@property (nonatomic,retain)id<TalkToMac> delegate;
//add for 20160712
@property(nonatomic, strong)UIButton *refreshBtn;
@property (nonatomic, strong)UIButton *arrivalBtn;
@property (nonatomic, strong)UIButton *departureBtn;
@property (nonatomic, strong)UIButton *toMapBtn;
@property (nonatomic, strong)UIRefreshControl *refresh;
@property (nonatomic, strong)NSMutableArray *arrivalArray;
@property (nonatomic, strong)NSMutableArray *departureArray;
@property (nonatomic, strong)NSMutableArray *airportArray;
@property (nonatomic, strong)NSMutableArray *flightArray;
@property (nonatomic,strong) NSTimer *flightSchedule;
// from UIActionSheetDelegate
//- (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex;
////for peer to talk
//- (void)appendOutputMessage:(NSString*)message;
@end