Skip to content

Commit 5be40bb

Browse files
authored
Update README.md
1 parent 392658b commit 5be40bb

File tree

1 file changed

+43
-2
lines changed

1 file changed

+43
-2
lines changed

README.md

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,54 @@
1+
<p align="center" >
2+
<img src="https://user-images.githubusercontent.com/6329656/48311197-b2c3cc00-e5ce-11e8-974d-57749b36168f.png" title="PaddingLabel logo" width='400' float=left>
3+
</p>
4+
5+
[![Pod Version](http://img.shields.io/cocoapods/v/PaddingLabel.svg?style=flat)](http://cocoadocs.org/docsets/PaddingLabel/)
6+
[![Pod Platform](http://img.shields.io/cocoapods/p/PaddingLabel.svg?style=flat)](http://cocoadocs.org/docsets/PaddingLabel/)
7+
[![Pod License](http://img.shields.io/cocoapods/l/PaddingLabel.svg?style=flat)](https://www.apache.org/licenses/LICENSE-2.0.html)
8+
19
# PaddingLabel
210
A label with padding for iOS
311

4-
### Installation
12+
## Requirements
13+
14+
- iOS 8.0 or later
15+
- Xcode 9.0 or later
16+
17+
## Communication
18+
- If you **need help**, use [Stack Overflow](https://stackoverflow.com/questions/27459746/adding-space-padding-to-a-uilabel/32368958#32368958).
19+
- If you **found a bug**, open an issue.
20+
- If you **have a feature request**, open an issue.
21+
- If you **want to contribute**, submit a pull request.
22+
23+
## How To Use
24+
25+
- Change class of UILabel in your `storyboard`, `xib` to `PaddingLabel`.
26+
- Or programmatically:
27+
28+
```swift
29+
import PaddingLabel
30+
31+
let label = PaddingLabel(frame: CGRect(x: 0, y: 0, width: 500, height: 100))
32+
```
33+
34+
## Installation
535
There is a way to use PaddingLabel in your project:
636

737
- using CocoaPods
838

9-
#### Installation with CocoaPods
39+
### Installation with CocoaPods
1040

1141
```
1242
pod 'PaddingLabel', '1.0'
1343
```
44+
### Build Project
45+
46+
At this point your workspace should build without error. If you are having problem, post to the Issue and the
47+
community can help you solve it.
48+
49+
## Author
50+
- [Tai Le](https://github.com/levantAJ)
51+
52+
## Licenses
53+
54+
All source code is licensed under the [MIT License](https://raw.githubusercontent.com/levantAJ/PaddingLabel/master/LICENSE).

0 commit comments

Comments
 (0)