TvOSTextViewer 0.0.2

TvOSTextViewer 0.0.2

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Feb 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by David Cordero.


Downloads

Total5,820
Week139
Month1,347

Installs

Apps12
Apps WeekApps This Week 3
Test Targets3
Test WeekTests This week 2
powered by Segment

GitHub

Stars20
Watchers3
Forks1
Issues0
Contributors1
Pull Requests0

Code

Files2
LOCLines of Code 87


  • By
  • David Cordero

TvOSTextViewer

Light and scrollable view controller for tvOS to present blocks of text

Description

TvOSTextViewer is a view controller to present blocks of text on the same way native Apps do it on tvOS.

Customizable properties:

  • text: The block of text to be presented
  • textColor: The color of the text
  • textEdgeInsets: Margins for the text
  • font: Custom fonts/sizes can be set here
  • backgroundBlurEffectStyle: .dark by default

Requirements

  • tvOS 9.0+
  • Xcode 8.2

Usage

All you need is to create an instance of TvOSTextViewerViewController and present it on the screen:

let viewController = TvOSTextViewerViewController()
viewController.text = "Hello World"
present(viewController, animated: true, completion: nil)