Skip to content

Commit cd21b19

Browse files
committed
asserting GMap got an URL to work with
1 parent f82f0df commit cd21b19

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

GMap/GMMapView.m

+2
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ - (id)initWithFrame:(NSRect)frame
106106
if (!self.tileURLFormat)
107107
self.tileURLFormat = [[NSBundle bundleForClass:GMMapView.class] objectForInfoDictionaryKey:@"GMTileURLFormat"];
108108

109+
NSAssert( self.tileURLFormat != nil , @"Expecting self.tileURLFormat != nil" );
110+
109111
// ################################################################################
110112
// Tile disk cache
111113

0 commit comments

Comments
 (0)