• Stars
    star
    111
  • Rank 314,510 (Top 7 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 9 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Paranoid text spacing in Objective-C

Pangu.objective-c

Travis CI codecov.io Cocoapods

Paranoid text spacing for good readability, to automatically insert whitespace between CJK (Chinese, Japanese, Korean), half-width English, digit and symbol characters.

Installation

The simplest option is to use pod "Pangu".

You can also add the Classes folder to your project, and then import Pangu.h. There are no further requirements.

Usage

#import "Pangu.h"

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

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

License

Released under the MIT License.

More Repositories

1

Leetcode

Java
108
star
2

ColorMix

Build a game all about colors and your reflexes in a week.
Objective-C
73
star
3

Icons-Redesign

39
star
4

NASM-Tutorial

中文版 NASM Tutorial
HTML
15
star
5

PNJU-Workflow

An Alfred Workflow to Login PNJU. 不知道比 p.nju.edu.cn 高到哪裡去了。
JavaScript
14
star
6

TouchBarSample

Swift
10
star
7

uCOS-II-EDF

C
8
star
8

Resume

Waiting for hire!
TeX
6
star
9

CeeKit

Objective-C
6
star
10

OS-Revision

6
star
11

c0933-Software-Architecture

HTML
5
star
12

Shinshi

紳(hen)士(tai)
Swift
4
star
13

Network-Revision

4
star
14

Analyze_Homework

大二下軟件工程統計大作業
CSS
4
star
15

Operating_System_Chap_2

遍历 FAT12 系统
C
4
star
16

PNJU-TodayWidget

Objective-C
4
star
17

Enhanced-Casper

CSS
3
star
18

ama

AMA means 哎嘛,你怎么又来问问题了!
3
star
19

c0896-Requirement-Engineering

3
star
20

uCOS-II-Snake

C
3
star
21

KonachanDownloader

Objective-C
3
star
22

PNJU-Watch

Objective-C
3
star
23

cee.ee

HTML
3
star
24

MonitorOff

An Alfred workflow that can turn your monitor off immediately.
2
star
25

ProductManager

简易商品管理系统
ASP
2
star
26

JubeatHook

Objective-C
2
star
27

CryptoBay

Demo project for LONGHASH Tokyo Hackathon.
JavaScript
2
star
28

PerfectFreeze

My Blog: http://blog.cee.moe
HTML
2
star
29

c0866-Computing-and-Software-Engineering-III

Java
2
star
30

Lucky-Money

CSS
1
star
31

cee.fan

HTML
1
star
32

Learning-Verbal-Advantage

Always learning. :)
1
star
33

CeeHome

HTML
1
star
34

GetPhotos

A Java Program to get photos from http://xsgl.nju.edu.cn
Java
1
star
35

Big-Data-Final-Demo

Jupyter Notebook
1
star
36

Operating_System_Chap_4

Assembly
1
star
37

Operating_System_Chap_1

Assembly
1
star
38

xn--oi8hyt.ws

🍎💊.ws
HTML
1
star
39

c0901-Compiling-Techniques

Java
1
star
40

233-Game

JavaScript
1
star
41

c0952-Software-Testing

Java
1
star
42

NJUVideo

PHP
1
star
43

DigitalCrownSample

Sample Program to Learn WWDC Session 207 & 208
Objective-C
1
star
44

Operating_System_Chap_3

C
1
star