Guest User

Untitled

a guest
Dec 14th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. @interface GoogleHQAnnotation : NSObject <MKAnnotation> {
  2. CLLocationCoordinate2D coordinate;
  3. }
  4.  
  5. @end
  6.  
  7. #import "GoogleHQAnnotation.h"
  8.  
  9. @implementation GoogleHQAnnotation
  10.  
  11. - (id)init {
  12. coordinate.longitude = -122.084095;
  13. coordinate.latitude = 37.422006;
  14. return [super init];
  15. }
  16.  
  17. @synthesize coordinate;
  18.  
  19. - (NSString *)title {
  20. return @"Google HQ";
  21. }
  22.  
  23. - (NSString *)subtitle {
  24. return @"(650) 253-0000‎";
  25. }
  26.  
  27. @end
Add Comment
Please, Sign In to add comment