SkillAgentSearch skills...

YKHangul

Splitting your Korean sentence to each character likes 'Initial', 'Medial', 'Final'.

Install / Use

/learn @yojkim/YKHangul
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Usage

  • Create an YKHangul class in any swift file
class ViewController {

    // Create UILabel
    @IBOutlet var stringLabel: UILabel!
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
        let hangulSystem = YKHangul()
        
        /* result = ㅇㄴㅎㅅㅇ ㅈㄴ yojkim ㅇㄴㄷ. */
        stringLabel.text = hangulSystem.getStringConsonant(string: "안녕하세요 저는 yojkim 입니다.",
                                                           consonantType: .Initial)
    }
}
  • You can use different type of consonant
.Initial // 초성
.Medial  // 중성 
.Final   // 종성
  • Character except Korean represents originally
View on GitHub
GitHub Stars9
CategoryDevelopment
Updated4y ago
Forks1

Languages

Swift

Security Score

75/100

Audited on Aug 18, 2021

No findings