[Swift 3.0]Automaticly convert S
2016-09-12 本文已影响91人
CGPointZero
FGCoverter
..............................................................
Introduction
A Category of String used for mutual converting between simplified Chinese and Traditional Chinese.The Swift Edition of FGReverser
Installtion
Manual:
Download This Project and drag the FGReverser folder into your peroject, do not forget to ensure "copy item if need" being selected.
Usage
Simplfied Chinese to Traditional Chinese, or Traditional Chinese to Simplfied Chinese, Use:
pulic func reverseString()->String
Example
.................................
let string="恭喜发财"
let result=string.reverseString()
print(result)
.................................
The result is
恭喜發財
or
.................................
let string="恭喜發財"
let result=string.reverseString()
print(result)
.................................
The result is
恭喜发财
About Me
- Blog: CGPointZeero
- GitHub: Insfgg99x
- Mooc: CGPointZero
- Jianshu: CGPointZero
- Email: newbox0512@yahoo.com
..............................................................
End.
Attached the address of my source code on GitHub FGGConverter Hope your star, fork or pull request.
@CGPoitZero