UILabel extension to enable copying
import CopyableLabel
let label = UILabel()
label.copyable = true
Or set copyable property to true in Interface Builder.
iOS 9 or higher
CopyableLabel is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "CopyableLabel"
You can use Carthage to install CopyableLabel by adding it to your Cartfile:
github "weby/CopyableLabel"
Donatas Stundys, [email protected]
CopyableLabel is available under the MIT license. See the LICENSE file for more info.