[ios] Fixed warning with overridden bookmarkSizingCell method.

This commit is contained in:
v.mikhaylenko 2015-11-10 14:26:06 +03:00
parent 80befbcb60
commit 7abb700bac

View file

@ -15,7 +15,6 @@ static NSString * const kPlacePageBookmarkCellIdentifier = @"PlacePageBookmarkCe
@property (weak, nonatomic) MWMPlacePageEntity * entity;
@property (weak, nonatomic) IBOutlet MWMPlacePage * ownerPlacePage;
@property (nonatomic) MWMPlacePageBookmarkCell * bookmarkSizingCell;
@end
@ -186,6 +185,13 @@ static CGFloat const kTitleBottomOffset = 2.;
[self setNeedsLayout];
}
- (MWMPlacePageBookmarkCell *)bookmarkSizingCell
{
if (!_bookmarkSizingCell)
_bookmarkSizingCell = [self.featureTable dequeueReusableCellWithIdentifier:kPlacePageBookmarkCellIdentifier];
return _bookmarkSizingCell;
}
@end
@implementation MWMBasePlacePageView (UITableView)
@ -239,11 +245,4 @@ static CGFloat const kTitleBottomOffset = 2.;
return cell;
}
- (MWMPlacePageBookmarkCell *)bookmarkSizingCell
{
if (!_bookmarkSizingCell)
_bookmarkSizingCell = [self.featureTable dequeueReusableCellWithIdentifier:kPlacePageBookmarkCellIdentifier];
return _bookmarkSizingCell;
}
@end