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/ContextViews.mm
parent279c4e252521359d59d76e533b7cde41a74183e9 (diff)
[ios] Added place page dragging support.
Diffstat (limited to 'iphone/Maps/Classes/ContextViews.mm')
-rw-r--r--iphone/Maps/Classes/ContextViews.mm51
1 files changed, 0 insertions, 51 deletions
diff --git a/iphone/Maps/Classes/ContextViews.mm b/iphone/Maps/Classes/ContextViews.mm
deleted file mode 100644
index 1a3b63f34a..0000000000
--- a/iphone/Maps/Classes/ContextViews.mm
+++ /dev/null
@@ -1,51 +0,0 @@
-
-#import "ContextViews.h"
-
-@implementation CopyLabel
-
-- (instancetype)initWithFrame:(CGRect)frame
-{
- self = [super initWithFrame:frame];
-
- self.userInteractionEnabled = YES;
-
- return self;
-}
-
-- (BOOL)canBecomeFirstResponder
-{
- return YES;
-}
-
-- (BOOL)canPerformAction:(SEL)action withSender:(id)sender
-{
- return action == @selector(copy:);
-}
-
-- (void)copy:(id)sender
-{
- [UIPasteboard generalPasteboard].string = self.text;
-}
-
-@end
-
-
-@implementation CopyView
-
-- (BOOL)canBecomeFirstResponder
-{
- return YES;
-}
-
-- (BOOL)canPerformAction:(SEL)action withSender:(id)sender
-{
- return action == @selector(copy:);
-}
-
-- (void)copy:(id)sender
-{
- [UIPasteboard generalPasteboard].string = self.textToCopy;
-}
-
-
-@end \ No newline at end of file