手记

[Swift 3.0]Automaticly convert Simplified and Traditional Chiniese

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

..............................................................

End.

Attached the address of my source code on GitHub FGGConverter Hope your star, fork or pull request.
@CGPoitZero

1人推荐
随时随地看视频
慕课网APP