Skip to content

A UILabel subclass supporting content insets written in Swift.

License

Notifications You must be signed in to change notification settings

GyazSquare/InsetLabel

Repository files navigation

InsetLabel

Build Status

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

Contents Insets Off Contents Insets On

Requirements

  • Xcode 12.0 (Swift 5.3) or later
  • Base SDK: iOS 14.0 / tvOS 14.0 or later
  • Deployment Target: iOS 7.0 / tvOS 9.0 or later

Installation

CocoaPods

Add the pod to your Podfile:

platform :ios, '7.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

License

This software is licensed under the MIT License.

See the LICENSE file for details.