JubeatPlus 3.9.11
Loading...
Searching...
No Matches
CopyableUiLabel.h
Go to the documentation of this file.
1
16
17#import <UIKit/UIKit.h>
18
19NS_ASSUME_NONNULL_BEGIN
20
26@interface CopyableUiLabel : UILabel
27
38- (instancetype)initWithFrame:(CGRect)frame;
39
46- (void)touchesEnded:(NSSet *)touches withEvent:(nullable UIEvent *)event;
47
54
62- (BOOL)canPerformAction:(SEL)action withSender:(nullable id)sender;
63
69- (void)copy:(nullable id)sender;
70
71@end
72
73NS_ASSUME_NONNULL_END
74
75// code: language=Objective-C
76// kate: hl Objective-C;
77// vim: set ft=objc :
A label that becomes first responder when tapped and offers a Copy menu.
Definition CopyableUiLabel.h:27
BOOL canBecomeFirstResponder()
Always YES, so the edit menu can appear.
Definition CopyableUiLabel.m:27