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
+ (NSString *)encodeStringWithCoordinates:(NSArray *)coordinates | |
{ | |
NSMutableString *encodedString = [NSMutableString string]; | |
int val = 0; | |
int value = 0; | |
CLLocationCoordinate2D prevCoordinate = CLLocationCoordinate2DMake(0, 0); | |
for (NSValue *coordinateValue in coordinates) { | |
CLLocationCoordinate2D coordinate = [coordinateValue MKCoordinateValue]; | |
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
#include "pebble_os.h" | |
#include "pebble_app.h" | |
#include "pebble_fonts.h" | |
#include "resource_ids.auto.h" | |
#define MY_UUID { 0xCE, 0xC0, 0x94, 0xD9, 0xE7, 0xC8, 0x4E, 0xFA, 0xB8, 0xAD, 0xA1, 0x41, 0xC8, 0x6A, 0x7D, 0xB0 } | |
PBL_APP_INFO(MY_UUID, | |
"Phosphor", "Wip Interactive", | |
1, 0, 0, |