1 2 3 4 5 6 7 8 9 10 11 12 13 14
#import "MGLShape.h" @implementation MGLShape - (CLLocationCoordinate2D)coordinate { [[NSException exceptionWithName:@"MGLAbstractClassException" reason:@"MGLShape is an abstract class" userInfo:nil] raise]; return CLLocationCoordinate2DMake(MAXFLOAT, MAXFLOAT); } @end