InsetLabel

InsetLabel is a UILabel subclass supporting content insets written in Swift.

Requirements

  • Xcode 10.1 (Swift 4.2) or later
  • Base SDK: iOS 12.1 / tvOS 12.1 or later
  • Deployment Target: iOS 8.0 / tvOS 9.0 or later

Installation

CocoaPods

Add the pod to your Podfile:

platform :ios, '8.0'
use_frameworks!

# ... snip ...

pod 'InsetLabel', :git => 'https://github.com/GyazSquare/InsetLabel.git'

Install the pod:

$ pod install

Source

Check out the source:

$ git clone https://github.com/GyazSquare/InsetLabel.git

GitHub