Created
October 20, 2009 07:05
-
-
Save mikeyk/214082 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// InfoLocation.h | |
// sfinfo | |
// | |
// Created by Mike Krieger on 8/30/09. | |
// Copyright 2009 Mike Krieger. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
#import <MapKit/MapKit.h> | |
@interface InfoLocation : NSObject<MKAnnotation> { | |
CLLocationCoordinate2D coordinate; | |
NSString * description; | |
NSString * category; | |
NSDate * timestamp; | |
NSString * shortName; | |
} | |
@property (nonatomic, readwrite) CLLocationCoordinate2D coordinate; | |
@property (nonatomic, retain) NSString * description; | |
@property (nonatomic, retain) NSString * category; | |
@property (nonatomic, retain) NSDate * timestamp; | |
@property (nonatomic, retain) NSString * shortName; | |
-(id)initWithCoordinate:(CLLocationCoordinate2D) coordinate info:(NSDictionary *) info; | |
-(id) initWithInfoLocation:(InfoLocation *) original; | |
- (NSString *)subtitle; | |
- (NSString *)title; | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment