Skip to content

EhPanda-Team/SwiftyOpenCC

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

155 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swifty Open Chinese Convert

platforms

Swift port of Open Chinese Convert

Requirements

  • macOS 26.0+ / iOS 26.0+ / tvOS 26.0+ / watchOS 26.0+
  • Swift 6.3.1

Usage

Quick Start

import OpenCC

let str = "鼠标里面的硅二极管坏了,导致光标分辨率降低。"
let converter = try! ChineseConverter(option: [.traditionalize, .twStandard, .twIdiom])
converter.convert(str)
// 滑鼠裡面的矽二極體壞了,導致游標解析度降低。

License

SwiftyOpenCC is available under the MIT license. See the LICENSE file.

About

Swift port of OpenCC for conversion between Traditional and Simplified Chinese

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages

  • Swift 79.5%
  • C++ 16.6%
  • C 3.9%