Skip to content

Instantly share code, notes, and snippets.

@vikdenic
Created October 17, 2014 17:42
Show Gist options
  • Select an option

  • Save vikdenic/d976a9ecdd300807e325 to your computer and use it in GitHub Desktop.

Select an option

Save vikdenic/d976a9ecdd300807e325 to your computer and use it in GitHub Desktop.
Custom Pizzeria.h
//
// Pizzeria.h
// ZaHunter
//
// Created by Christopher on 10/15/14.
// Copyright (c) 2014 Big Nerd Ranch. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <MapKit/MapKit.h>
@interface Pizzeria : NSObject
@property MKMapItem *mapItem;
@property CLLocationDistance distanceFromMe;
@property NSString *distanceFromMeInKM;
-(instancetype)initWithMapItem: (MKMapItem *) passedInMapItem distanceFromMe: (CLLocationDistance)passedInDistanceFromMe distanceFromMeInKM: (NSString *) passedInDistanceFromMeInKM;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment