|
| 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 | +[](http://cocoadocs.org/docsets/PaddingLabel/) |
| 6 | +[](http://cocoadocs.org/docsets/PaddingLabel/) |
| 7 | +[](https://www.apache.org/licenses/LICENSE-2.0.html) |
| 8 | + |
1 | 9 | # PaddingLabel |
2 | 10 | A label with padding for iOS |
3 | 11 |
|
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 |
5 | 35 | There is a way to use PaddingLabel in your project: |
6 | 36 |
|
7 | 37 | - using CocoaPods |
8 | 38 |
|
9 | | -#### Installation with CocoaPods |
| 39 | +### Installation with CocoaPods |
10 | 40 |
|
11 | 41 | ``` |
12 | 42 | pod 'PaddingLabel', '1.0' |
13 | 43 | ``` |
| 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