teambition / HanziPinyin

A lightweight Swift library supporting convertion between Chinese(both Simplified and Tranditional) characters and Pinyin.
MIT License
63 stars 20 forks source link

Public initialize for PinyinOutputFormat and capitalized castType support #2

Closed strangeliu closed 7 years ago

strangeliu commented 7 years ago

1、The initialize for PinyinOutputFormat is marked as internal by default, there is no way to create a customized PinyinOutputFormat. 2、And capitalized castType support for output.