Latest 0.1.1
Homepage https://github.com/LostInIreland/Pinyin-UILabel-iOS
License MIT
Platforms ios 8.0
Authors

Pinyin-UILabel-iOS

An iOS custom UILabel that can display Chinese pinyin with tone above

Screenshot

  1. Installation

PinyinLabelExtension is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'PinyinLabelExtension'
  1. Use it as UILabel at the storyboard

Screenshot

  1. You can use it in the code as noraml UILabel
pinyin.text = "Ni3"

Latest podspec

{
    "name": "PinyinLabelExtension",
    "version": "0.1.1",
    "swift_version": "4.2",
    "summary": "An iOS custom UILabel that can display Chinese pinyin with tone above.",
    "description": "An iOS custom UILabel that can display Chinese pinyin with tone above.nIt take 1, 2, 3, 4 as the tone value after the pinyin.",
    "homepage": "https://github.com/LostInIreland/Pinyin-UILabel-iOS",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Lost In Ireland": "[email protected]"
    },
    "source": {
        "git": "https://github.com/LostInIreland/Pinyin-UILabel-iOS.git",
        "tag": "0.1.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "PinyinLabelExtension/Classes/**/*"
}

Pin It on Pinterest

Share This