Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/wookay/hangulswift

Hangul Automata for Swift
https://github.com/wookay/hangulswift

Last synced: 2 days ago
JSON representation

Hangul Automata for Swift

Awesome Lists containing this project

README

        

HangulSwift
===========

* Hangul Automata for Sebul Keyboard
https://itunes.apple.com/en/app/id428835384?mt=8

[![Build Status](https://api.travis-ci.org/wookay/HangulSwift.svg?branch=master)](https://travis-ci.org/wookay/HangulSwift)
[![Cocoapods Version](https://img.shields.io/cocoapods/v/HangulSwift.svg?style=flat)](https://cocoapods.org/pods/HangulSwift)

```sh
$ open App/HangulSwift.xcodeproj
```

```swift
let system = HangulInputSystem()
system.input(Jamo(type: .초, sound: "ㄱ"))
XCTAssertEqual("ㄱ", system.text)
system.input(Jamo(type: .중, sound: "ㅏ"))
XCTAssertEqual("가", system.text)
system.input(Jamo(type: .종, sound: "ㅁ"))
XCTAssertEqual("감", system.text)
```