Authored by Vladimir Vyskocil

initForView is deprecated and log a warning, use initWithView instead.

@@ -112,7 +112,7 @@ @@ -112,7 +112,7 @@
112 - (RMMapContents *)contents 112 - (RMMapContents *)contents
113 { 113 {
114 if (!_contentsIsSet) { 114 if (!_contentsIsSet) {
115 - RMMapContents *newContents = [[RMMapContents alloc] initForView:self]; 115 + RMMapContents *newContents = [[RMMapContents alloc] initWithView:self];
116 self.contents = newContents; 116 self.contents = newContents;
117 [newContents release]; 117 [newContents release];
118 _contentsIsSet = YES; 118 _contentsIsSet = YES;