TvOSTextViewer 0.0.2

TvOSTextViewer 0.0.2

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

Maintained by David Cordero.


Downloads

Total2,321
Week195
Month1,157

Installs

Apps4
Apps WeekApps This Week 1
Test Targets2
Test WeekTests This week 2
powered by Segment

GitHub

Stars4
Watchers0
Forks1
Issues0
Contributors1
Pull Requests0

Code

Files2
SizeIntegration Size 16 kb
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)