Created
October 17, 2014 17:43
-
-
Save vikdenic/88672b7f45fd23220e38 to your computer and use it in GitHub Desktop.
Custom Pizzeria.m
This file contains hidden or 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
| // | |
| // Pizzeria.m | |
| // ZaHunter | |
| // | |
| // Created by Christopher on 10/15/14. | |
| // Copyright (c) 2014 Big Nerd Ranch. All rights reserved. | |
| // | |
| #import "Pizzeria.h" | |
| @implementation Pizzeria | |
| -(instancetype)initWithMapItem: (MKMapItem *) passedInMapItem distanceFromMe: (CLLocationDistance)passedInDistanceFromMe distanceFromMeInKM: (NSString *) passedInDistanceFromMeInKM | |
| { | |
| self = [super init]; | |
| if (self) { | |
| self.mapItem = passedInMapItem; | |
| self.distanceFromMe = passedInDistanceFromMe; | |
| self.distanceFromMeInKM = passedInDistanceFromMeInKM; | |
| } | |
| return self; | |
| } | |
| @end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment