Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Grechuhin <i.grechuhin@mapswithme.com>2015-06-16 14:32:16 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:52:40 +0300
commit00c153b50ff6c92c312fb9fdc7662df4eef54388 (patch)
tree419ad82fedd1d550b3c4b3da916ff6bd7aabe1a8 /iphone/Maps/Classes/MWMBookmarkColorViewController.mm
parent279c4e252521359d59d76e533b7cde41a74183e9 (diff)
[ios] Added place page dragging support.
Diffstat (limited to 'iphone/Maps/Classes/MWMBookmarkColorViewController.mm')
-rw-r--r--iphone/Maps/Classes/MWMBookmarkColorViewController.mm27
1 files changed, 0 insertions, 27 deletions
diff --git a/iphone/Maps/Classes/MWMBookmarkColorViewController.mm b/iphone/Maps/Classes/MWMBookmarkColorViewController.mm
index 3f7c70d2ae..bd795164d0 100644
--- a/iphone/Maps/Classes/MWMBookmarkColorViewController.mm
+++ b/iphone/Maps/Classes/MWMBookmarkColorViewController.mm
@@ -12,31 +12,6 @@
#import "MWMPlacePageEntity.h"
#import "MWMPlacePageViewManager.h"
-@interface MWMTableView : UITableView
-
-@end
-
-@implementation MWMTableView
-
-//- (void)setContentInset:(UIEdgeInsets)contentInset
-//{
-//// Workaround on apple "feature" with navigationController (see NavigationController.mm, line 22).
-// return;
-// [super setContentInset:UIEdgeInsetsZero];
-//}
-////
-//- (void)setContentOffset:(CGPoint)contentOffset
-//{
-//// Workaround on apple "feature" with navigationController (see NavigationController.mm, line 22).
-// [super setContentOffset:CGPointZero];
-//}
-////
-//- (void)setScrollEnabled:(BOOL)scrollEnabled
-//{
-// [super setScrollEnabled:YES];
-//}
-@end
-
extern NSArray * const kBookmarkColorsVariant;
static NSString * const kBookmarkColorCellIdentifier = @"MWMBookmarkColorCell";
@@ -114,7 +89,6 @@ static NSString * const kBookmarkColorCellIdentifier = @"MWMBookmarkColorCell";
CGFloat const externalHeight = self.navigationController.navigationBar.height + [[UIApplication sharedApplication] statusBarFrame].size.height;
CGFloat const actualHeight = defaultHeight > (height - externalHeight) ? height : defaultHeight;
self.tableView.frame = CGRectMake(0., topOffset, width, actualHeight);
-// self.tableView.contentInset = UIEdgeInsetsZero;
break;
}
@@ -127,7 +101,6 @@ static NSString * const kBookmarkColorCellIdentifier = @"MWMBookmarkColorCell";
CGFloat const currentHeight = height - navBarHeight;
CGFloat const actualHeight = currentHeight > defaultHeight ? defaultHeight : currentHeight;
self.tableView.frame = CGRectMake(0., navBarHeight, width, actualHeight);
-// self.tableView.contentInset = UIEdgeInsetsZero;
break;
}
}