17#import <UIKit/UIKit.h>
19NS_ASSUME_NONNULL_BEGIN
38- (instancetype)initWithFrame:(CGRect)frame;
46- (void)touchesEnded:(NSSet *)touches withEvent:(nullable UIEvent *)event;
62- (BOOL)canPerformAction:(
SEL)action withSender:(nullable
id)sender;
69- (void)copy:(nullable
id)sender;
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