Latest 0.1.1
Homepage https://github.com/anthony1618/KKVerticalText
License MIT
Platforms ios 8.0, requires ARC
Authors

CI Status
Version
License
Platform

Demo

demo1
demo2

Futures

  • [x] View vertical-alignment to input text
  • [x] View ruby on right side

Requirement

  • Swift2
  • This version only support iOS8 & iPhone6

Installation

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

pod "KKVerticalText"

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Create Vertical Text

// create KKVerticalTextView
let verticalLabel = KKVerticalText(frame: self.view.bounds)      
self.view.addSubview(verticalLabel)

Change sentence

verticalLabel.sentences = ["Hello World", "こんにちは|世界《せかい》"]      

Change font-size & font-family

verticalLabel.fontfamily = "Helvetica"
verticalLabel.fontsize = 25        

Author

@anthony_1618

License

KKVerticalText is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "KKVerticalText",
    "version": "0.1.1",
    "summary": "Useful extensions for UIKit framework.",
    "description": "Useful extensions for UIKit framework.n'UIView' is extended.",
    "homepage": "https://github.com/anthony1618/KKVerticalText",
    "license": "MIT",
    "authors": {
        "anthony1618": "[email protected]"
    },
    "source": {
        "git": "https://github.com/anthony1618/KKVerticalText.git",
        "tag": "0.1.1"
    },
    "social_media_url": "https://twitter.com/anthony_1618",
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "KKVerticalText": [
            "Pod/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This