Monthly Archives: January 2010

decode google maps PolyLines objective C

If you are working on Google maps API and using routes/directions this will help you decode route polylines works on MAC OS X and iPhone SDK -(NSMutableArray *)decodePolyLine: (NSMutableString *)encoded { [encoded replaceOccurrencesOfString:@"\\\\" withString:@"\\" options:NSLiteralSearch range:NSMakeRange(0, [encoded length])]; NSInteger len … Continue reading

Posted in Other | 4 Comments

failed to upload *.app

Developing with Xcode is not all gold, sometimes you get diarrhea. Like “failed to upload *.app” to your iPhone device for debug. Solution is to restart your Xcode. dont bother disconnecting and reconnecting your iPhone. If still same error then … Continue reading

Posted in Programming | Leave a comment