https://github.com/rockfordwei/gbig
Swift 繁简对照字符串函数
https://github.com/rockfordwei/gbig
big5 gb swift
Last synced: 4 months ago
JSON representation
Swift 繁简对照字符串函数
- Host: GitHub
- URL: https://github.com/rockfordwei/gbig
- Owner: RockfordWei
- Created: 2018-01-02T22:25:50.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-02T22:26:31.000Z (almost 8 years ago)
- Last Synced: 2025-04-18T22:35:24.397Z (6 months ago)
- Topics: big5, gb, swift
- Language: Swift
- Size: 11.7 KB
- Stars: 17
- Watchers: 0
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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 源代码拷走,不谢!