forked from DIGITALDJZ/Handy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MapViewController.h
36 lines (27 loc) · 952 Bytes
/
MapViewController.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
//
// MapViewController.h
// Handy
//
// Created by Elay Datika on 5/10/14.
// Copyright (c) 2014 elaydatika. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <MapKit/MapKit.h>
#import "PlaceViewController.h"
#import "Annotation.h"
#import "GAITrackedViewController.h"
@interface MapViewController : GAITrackedViewController {
CLGeocoder *geocoder;
}
@property (weak, nonatomic) IBOutlet MKMapView *mapView;
@property (nonatomic,retain) NSString * getData; //stores all kind of get data
// Segmented control to switch view controllers
@property (weak, nonatomic) IBOutlet UISegmentedControl *switchViewControllers;
// Array of view controllers to switch between
@property (nonatomic, copy) NSArray *allViewControllers;
// Currently selected view controller
@property (nonatomic, strong) UIViewController *currentViewController;
- (IBAction)addAnnotationButton:(id)sender;
-(Annotation *)ann;
-(NSString *)myString;
@end