Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/GyazSquare/GSLabel

GSLabel has been deprecated in favor of InsetLabel
https://github.com/GyazSquare/GSLabel

Last synced: about 1 month ago
JSON representation

GSLabel has been deprecated in favor of InsetLabel

Awesome Lists containing this project

README

        

# GSLabel

[![Build Status](https://travis-ci.org/GyazSquare/GSLabel.svg?branch=master)](https://travis-ci.org/GyazSquare/GSLabel)

**Important:** This library is deprecated, it is recommended you look at [InsetLabel](https://github.com/GyazSquare/InsetLabel).

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

![Contents Insets Off](https://github.com/GyazSquare/GSLabel/raw/master/images/content-insets-off.png "Contents Insets Off")
![Contents Insets On](https://github.com/GyazSquare/GSLabel/raw/master/images/content-insets-on.png "Contents Insets On")

## Requirements

* Xcode 8.1 (Swift 3.0.1) or later
* Base SDK: iOS 10.1 / tvOS 10.0 or later
* Deployment Target: iOS 7.0 / tvOS 9.0 or later

## Installation

### CocoaPods

Add the pod to your `Podfile`:

```ruby
platform :ios, '8.0'
use_frameworks!

# ... snip ...

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

Install the pod:

```shell
$ pod install
```

### Source

Check out the source:

```shell
$ git clone https://github.com/GyazSquare/GSLabel.git
```

## License

GSLabel is licensed under the MIT License.

See the LICENSE file for more info.