Skip to content

Instantly share code, notes, and snippets.

@isutton
isutton / MyWindow.h
Created October 25, 2012 09:21
UIWindow subclass that adds rounded top corners.
@interface MyWindow : UIWindow
@end
@Muximize
Muximize / MKPolyline+GMEncodedString.h
Created September 23, 2012 12:15
A category on MKPolyline adding a class method to create a new MKPolyline from a Google Maps Directions API encoded polyline string. See https://developers.google.com/maps/documentation/utilities/polylinealgorithm
#import <MapKit/MapKit.h>
@interface MKPolyline (GMEncodedString)
+ (MKPolyline *)polylineWithGMEncodedString:(NSString *)encodedString;
@end