An open API service indexing awesome lists of open source software.

https://github.com/rockfordwei/gbig

Swift 繁简对照字符串函数
https://github.com/rockfordwei/gbig

big5 gb swift

Last synced: 4 months ago
JSON representation

Swift 繁简对照字符串函数

Awesome Lists containing this project

README

          

# GBig 简体繁体切换

对照表来自[RobinQu/simplebig](https://github.com/RobinQu/simplebig)

## 使用范例

``` swift
XCTAssertEqual("東加拿大".gb, "东加拿大")
XCTAssertEqual("东加拿大".big5, "東加拿大")
XCTAssertEqual("太古遺產".gb, "太古遗产")
XCTAssertEqual("太古遗产".big5, "太古遺產")
XCTAssertEqual("繁體中文".gb, "繁体中文")
XCTAssertEqual("繁体中文".big5, "繁體中文")
XCTAssertEqual("香港動漫".gb, "香港动漫")
XCTAssertEqual("香港动漫".big5, "香港動漫")
```

## 引用方法

直接将GBig.swift 源代码拷走,不谢!