-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathPostLocationViewController.h
More file actions
33 lines (27 loc) · 932 Bytes
/
PostLocationViewController.h
File metadata and controls
33 lines (27 loc) · 932 Bytes
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
//
// PostLocationViewController.h
// DemoApp
//
// Created by Chris Seymour on 7/13/11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#import <CoreLocation/CoreLocation.h>
#import "PhotoFetcher.h"
@interface PostLocationViewController : UIViewController<CLLocationManagerDelegate, PhotoFetcherDelegate> {
NSString* feedUrl;
CLLocationManager* locationManager;
PhotoFetcher* mapPhotoFetcher;
UIImageView* imageView;
UITextField* messageField;
UIButton* postBtn;
CGFloat keyboardOffset;
CLLocation* currentLocation;
}
@property(nonatomic, retain) CLLocation* currentLocation;
@property(nonatomic, retain) CLLocationManager *locationManager;
@property(nonatomic, retain) IBOutlet UIImageView* imageView;
@property(nonatomic, retain) IBOutlet UITextField* messageField;
@property(nonatomic, retain) IBOutlet UIButton* postBtn;
- (id)initWithUrl:(NSString*)targetUrl;
- (IBAction)post:(id)sender;
@end