Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kofktu/kuitaglabel

Automatic height TagListView
https://github.com/kofktu/kuitaglabel

cocoapods swift tags

Last synced: 3 months ago
JSON representation

Automatic height TagListView

Awesome Lists containing this project

README

        

# KUITagLabel

[![Build Status](https://travis-ci.org/Kofktu/KUITagLabel.svg?branch=master)](https://travis-ci.org/Kofktu/KUITagLabel)
![Swift](https://img.shields.io/badge/Swift-4.0-orange.svg)
[![CocoaPods](http://img.shields.io/cocoapods/v/KUITagLabel.svg?style=flat)](http://cocoapods.org/?q=name%3AKUITagLabel%20author%3AKofktu)
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)

![alt tag](ScreenShot/Sample.png)

- TagLabel support for Dynamic height
- Support for Accessiblity

## Requirements

- iOS 8.0+
- Xcode 9.0
- Swift 4.0 (>= 2.0.0)
- Swift 3.0 (>= 1.5.0)

## Installation

#### CocoaPods
KUITagLabel is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:

```ruby
pod "KUITagLabel"
```

#### Carthage
For iOS 8+ projects with [Carthage](https://github.com/Carthage/Carthage)

```
github "Kofktu/KUITagLabel"
```

## Usage

#### KUITagLabel
```Swift
import KUITagLabel

let config = KUITagConfig(titleColor: UIColor.magentaColor(),
titleFont: UIFont.boldSystemFontOfSize(15.0),
...)

tagLabel.add(KUITag(title: "#테스트", config: config))
tagLabel.add(KUITag(title: "#테스트1", config: config))
tagLabel.refresh()

```

## Authors

Taeun Kim (kofktu),

## License

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