diff --git a/XLocation/Categories/NSString+Gpx.m b/XLocation/Categories/NSString+Gpx.m index 4ff9166..9884d08 100644 --- a/XLocation/Categories/NSString+Gpx.m +++ b/XLocation/Categories/NSString+Gpx.m @@ -12,30 +12,30 @@ @implementation NSString (Gpx) +(NSString *)generateGpxWithFilename:(NSString*) filename latitude:(NSNumber *)lat longitude:(NSNumber *)lng address:(NSString *)address city:(NSString *)city country:(NSString *)country zip:(NSString *)zipCode{ return [NSString stringWithFormat:@"\n\ - \n\ - \n\ - \n\ - %@\n\ - \n\ - \n\ - \n\ - %@\n\ - %@\n\ - %@\n\ - %@\n\ - \n\ - \n\ - \n\ - \n\ - ", lat, lng, [NSDate new], filename, address, city, country, zipCode]; +\n\ + \n\ + \n\ + %@\n\ + \n\ + \n\ + \n\ + %@\n\ + %@\n\ + %@\n\ + %@\n\ + \n\ + \n\ + \n\ + \n\ +", lat, lng, [NSDate new], filename, address, city, country, zipCode]; } @end