CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
| TestsTested | ✗ |
| LangLanguage | SwiftSwift |
| License | MIT |
| ReleasedLast Release | Sep 2016 |
| SPMSupports SPM | ✗ |
Maintained by kyo__hei.
KYDigitalFontView is a custom view that displays the character in the digital font style
Just add the Classes folder to your project.
(see sample Xcode project in /Example)
let digitalFontView = KYDigitalFontView(frame: CGRectMake(10, 10, 100, 160))
digitalFontView.borderWidth = 1
digitalFontView.borderColor = UIColor.redColor()
digitalFontView.fillColor = UIColor.cyanColor()
digitalFontView.lineWidth = 15
digitalFontView.drawPositions = KYDigitalFontView.DrawPositions(character: "A")
/* Custom Drawing
digitalFontView.drawPositions = [._0, ._1, ._14, ._15]
*/
view.addSubview(v)// From Character
digitalFontView.drawPositions = KYDigitalFontView.DrawPositions(character: "A")
// Custom Drawing
digitalFontView.drawPositions = [._0, ._1, ._2]This code is distributed under the terms and conditions of the MIT license.