initForView is deprecated and log a warning, use initWithView instead.
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -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; |
-
Please register or login to post a comment