-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMapViewController.h
43 lines (40 loc) · 1.13 KB
/
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
37
38
39
40
41
42
43
//
// MapViewController.h
// Paparazzi
//
// Created by byeong cheol lim on 11. 1. 8..
// Copyright 2011 ocbs. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <MapKit/MapKit.h>
#import "FlickrFetcher.h"
#import "Person.h"
#import "Photo.h"
#import "Scale.h"
#import "ThirdPersonViewController.h"
#import "Annotation.h"
@interface MapViewController : UIViewController <MKMapViewDelegate, UIAlertViewDelegate>{
IBOutlet MKMapView *mapView;
IBOutlet UISegmentedControl *segControl;
FlickrFetcher *flicker;
Person *person;
Photo *photo;
Annotation *sharedAnnotation;
NSManagedObjectContext *context;
NSArray *fArray;
NSString *phoName;
ThirdPersonViewController *thirdVC;
Boolean run;
int idx;
BOOL updatingCoredata;
}
@property (nonatomic,retain) MKMapView *mapView;
@property (nonatomic,retain) UIImage *annoImage;
@property (nonatomic,retain) NSString *phoName;
@property (nonatomic,retain) Annotation *sharedAnnotation;
@property (nonatomic,assign) BOOL updatingCoredata;
-(IBAction)addAnnotation;
-(IBAction)changeMapType;
-(void)updateMap:(NSNumber *)object;
-(void)checkButtonTapped:(id)sender event:(UIEvent *)event;
@end