Skip to content

Commit

Permalink
Update Readme and podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
Cee committed Aug 11, 2015
1 parent a69f929 commit 3a07720
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Pangu.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Pangu"
s.version = "0.1.1"
s.version = "0.2.0"
s.summary = "Paranoid text spacing in Objective-C"
s.description = "Paranoid text spacing for good readability, to automatically insert whitespace between CJK (Chinese, Japanese, Korean) and half-width characters (alphabetical letters, numerical digits and symbols)."

Expand Down
8 changes: 6 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,19 @@ Paranoid text spacing for good readability, to automatically insert whitespace b

The simplest option is to use `pod "Pangu"`.

You can also add the two files `NSString+Pangu.h/m` to your project. There are no further requirements.
You can also add the `Classes` folder to your project, and then `import Pangu.h`. There are no further requirements.

## Usage

```objective-c
#import "NSString+Pangu.h"
#import "Pangu.h"

[NSString spacing:@"請問Jackie的鼻子有幾個?123個!"];
// 請問 Jackie 的鼻子有幾個?123 個!

UILabel *label = [UILable new];
label.text = @"請問Jackie的鼻子有幾個?123個!";
// 請問 Jackie 的鼻子有幾個?123 個!
```
## License
Expand Down

0 comments on commit 3a07720

Please sign in to comment.