Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @interface GoogleHQAnnotation : NSObject <MKAnnotation> {
- CLLocationCoordinate2D coordinate;
- }
- @end
- #import "GoogleHQAnnotation.h"
- @implementation GoogleHQAnnotation
- - (id)init {
- coordinate.longitude = -122.084095;
- coordinate.latitude = 37.422006;
- return [super init];
- }
- @synthesize coordinate;
- - (NSString *)title {
- return @"Google HQ";
- }
- - (NSString *)subtitle {
- return @"(650) 253-0000";
- }
- @end
Add Comment
Please, Sign In to add comment