美文网首页iOS个人修养iOS开发工具
[Swift 3.0]Automaticly convert S

[Swift 3.0]Automaticly convert S

作者: CGPointZero | 来源:发表于2016-09-12 01:05 被阅读91次

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

相关文章

网友评论

    本文标题:[Swift 3.0]Automaticly convert S

    本文链接:https://www.haomeiwen.com/subject/gucpettx.html