Skip to content

Commit

Permalink
initForView is deprecated and log a warning, use initWithView instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
vyskocil committed Aug 15, 2010
1 parent 60f7d3f commit dbe3352
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MapView/Map/RMMapView.m
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ - (id)initWithFrame:(CGRect)frame WithLocation:(CLLocationCoordinate2D)latlon
- (RMMapContents *)contents
{
if (!_contentsIsSet) {
RMMapContents *newContents = [[RMMapContents alloc] initForView:self];
RMMapContents *newContents = [[RMMapContents alloc] initWithView:self];
self.contents = newContents;
[newContents release];
_contentsIsSet = YES;
Expand Down

0 comments on commit dbe3352

Please sign in to comment.