Latest 1.0.1
License MIT
Platforms ios , requires ARC

A simple UILabel category meant to add copy functionality to it.


  • Supports Interface Builder
  • Supports long press gesture
  • Allows enable/disble the copy feature
  • Works with all UILabel objects already in your project



The easiest way of installing UILabel+Copyable is via CocoaPods.

pod 'UILabel+Copyable', '~> 1.0.0'

Old-fashioned way

  • Add UILabel+Copyable.h and UILabel+Copyable.m to your project.
  • #import "UILabel+Copyable.h" where you want to use the control.
  • These files require ARC.


Just import the category header: #import "UILabel+Copyable.h" and then set the copyingEnabled property to YES:

UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 100, 30)];
label.copyingEnabled = enabled;
[self.view addSubview:label];

Included is a demo project showing how to use it from a storyboard.


Change log

  • version 1.0.1
  • Resolved issue #1.

  • version 1.0.0
  • Initial release


UILabel+Copyable is licensed under the terms of the MIT License. Please see the LICENSE file for full details.

Latest podspec

    "name": "UILabel+Copyable",
    "version": "1.0.1",
    "summary": "A simple category to add copy functionality to UILabel.",
    "description": "# Featuresn - Supports Interface Buildern - Supports long press gesturen - Allows enable/disble the copy featuren - Works with all UILabel objects already in your project",
    "homepage": "",
    "screenshots": "",
    "license": {
        "type": "MIT",
        "file": ""
    "authors": {
        "Alexandre Santos": "[email protected]"
    "social_media_url": "",
    "platforms": {
        "ios": null
    "source": {
        "git": "",
        "tag": "1.0.1"
    "source_files": "UILabel+Copyable/**/*.{h,m}",
    "requires_arc": true

Pin It on Pinterest

Share This