Latest 0.1.6
Homepage https://github.com/harielakanti/CPLabel
License MIT
Platforms ios 8.0
Authors

[![CI Status](http://img.shields.io/travis/Hari Krishna/CPLabel.svg?style=flat)](https://travis-ci.org/Hari Krishna/CPLabel)
Version
License
Platform

Requirements

  • ARC
  • iOS8

Installation

CPLabel is available through CocoaPods.

For latest release in cocoapods

## for swift 2.3 use:
pod 'CPLabel', '~> 0.1.4'

## for swift 3.0 use:
pod 'CPLabel', '~> 0.1.5'

## for swift 4.0 use:
pod 'CPLabel', '~> 0.1.6'

Usage

storyboard:

  • Drag UITextView and change the Custom Class Name to CPLabel in Identity Inspector
  • import the module [import CPLabel] in the class where we use CPLabel.
  • give theOutlet from storyboard

Example

import CPLabel

class ViewController: UIViewController {
    @IBOutlet weak var textLabel: CPLabel?
    override func viewDidLoad() {
        super.viewDidLoad()

        self.textLabel?.text = "nnnHello World 1234567890 [email protected] "
    }
}

Feature

  • Use it like UiLable with Extra Features Like:

  • Copy the label text
  • recognize Pnone numbers, emailIDs, lookups etc..
  • long press selected text to give options like lookUp, email, send message, add to contact, copy and call..

    Author

Hari Krishna, [email protected]

License

CPLabel is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "CPLabel",
    "version": "0.1.6",
    "summary": "A painless way to integrate UILabel with features of select copy options",
    "description": "TODO: Simply download the file and copy the CLable.swift file to your project.",
    "homepage": "https://github.com/harielakanti/CPLabel",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Hari Krishna": "[email protected]"
    },
    "source": {
        "git": "https://github.com/harielakanti/CPLabel.git",
        "tag": "0.1.6"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "CPLabel/Classes/**/*"
}

Pin It on Pinterest

Share This