iOS个人修养iOS开发工具

[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

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

End.

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

@CGPoitZero

上一篇下一篇

猜你喜欢

热点阅读