Skip to content

Instantly share code, notes, and snippets.

@mikeyk
Created October 20, 2009 07:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikeyk/214082 to your computer and use it in GitHub Desktop.
Save mikeyk/214082 to your computer and use it in GitHub Desktop.
//
// 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