继续浏览精彩内容
慕课网APP
程序员的梦工厂
打开
继续
感谢您的支持,我会继续努力的
赞赏金额会直接到老师账户
将二维码发送给自己后长按识别
微信支付
支付宝支付

[Swift 3.0]Automaticly convert Simplified and Traditional Chiniese

CGPointZero
关注TA
已关注
手记 9
粉丝 1
获赞 92
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

打开App,阅读手记
1人推荐
发表评论
随时随地看视频慕课网APP