forked from organicmaps/organicmaps
[ios] Fixed warning with overridden bookmarkSizingCell method.
This commit is contained in:
parent
80befbcb60
commit
7abb700bac
1 changed files with 7 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue