All Projects → dcordero → TvOSTextViewer

dcordero / TvOSTextViewer

Licence: MIT license
Light and scrollable view controller for tvOS to present blocks of text

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language
objective c
16641 projects - #2 most used programming language

Labels

Projects that are alternatives of or similar to TvOSTextViewer

Htmlkit
An Objective-C framework for your everyday HTML needs.
Stars: ✭ 206 (+357.78%)
Mutual labels:  tvos
Build Openssl Curl
Scripts to build OpenSSL, HTTP/2 (nghttp2) and cURL (libcurl) for MacOS, iOS and tvOS devices (x86_64, armv7, armv7s, arm64, arm64e). Now Supporting Apple Silicon, OpenSSL 1.1.1 with TLS 1.3 and Mac Catalyst builds.
Stars: ✭ 230 (+411.11%)
Mutual labels:  tvos
fastlane-plugin-validate app
Validate your app with altool before uploading to iTunes Connect
Stars: ✭ 16 (-64.44%)
Mutual labels:  tvos
Iso8601
ISO8601 date parser and writer
Stars: ✭ 213 (+373.33%)
Mutual labels:  tvos
Human Interface Guidelines Extras
Community additions to Apple's Human Interface Guidelines
Stars: ✭ 225 (+400%)
Mutual labels:  tvos
Swiftui Sliders
🚀 SwiftUI Sliders with custom styles
Stars: ✭ 241 (+435.56%)
Mutual labels:  tvos
Ios Crash Dump Analysis Book
iOS Crash Dump Analysis Book
Stars: ✭ 158 (+251.11%)
Mutual labels:  tvos
Juicer
Juicer is a generic animation / motion library for macOS & iOS & tvOS written in Swift
Stars: ✭ 13 (-71.11%)
Mutual labels:  tvos
Wwdc
You don't have the time to watch all the WWDC session videos yourself? No problem me and many contributors extracted the gist for you 🥳
Stars: ✭ 2,561 (+5591.11%)
Mutual labels:  tvos
Flagkit
Beautiful flag icons for usage in apps and on the web.
Stars: ✭ 2,805 (+6133.33%)
Mutual labels:  tvos
Theanimation
Type-safe CAAnimation wrapper. It makes preventing to set wrong type values.
Stars: ✭ 214 (+375.56%)
Mutual labels:  tvos
Amplitude Ios
Native iOS/tvOS/macOS SDK
Stars: ✭ 216 (+380%)
Mutual labels:  tvos
Octopuskit
2D ECS game engine in 100% Swift + SwiftUI for iOS, macOS, tvOS
Stars: ✭ 246 (+446.67%)
Mutual labels:  tvos
Cache
Swift caching library
Stars: ✭ 210 (+366.67%)
Mutual labels:  tvos
TVGemist
An *Unofficial* Uitzending Gemist application for  TV
Stars: ✭ 23 (-48.89%)
Mutual labels:  tvos
Animation Extensions
A set of most commonly used animations like rotation, shake, flip or motion effects. All in one UIView extension.
Stars: ✭ 198 (+340%)
Mutual labels:  tvos
Fire
🔥A delightful HTTP/HTTPS networking framework for iOS/macOS/watchOS/tvOS platforms written in Swift.
Stars: ✭ 243 (+440%)
Mutual labels:  tvos
ScaledFont
ScaledFont - Using custom fonts with dynamic type
Stars: ✭ 50 (+11.11%)
Mutual labels:  tvos
Futures
Lightweight promises for iOS, macOS, tvOS, watchOS, and Linux
Stars: ✭ 59 (+31.11%)
Mutual labels:  tvos
Ffmpeg Ios Build Script
Shell scripts to build FFmpeg for iOS and tvOS
Stars: ✭ 2,814 (+6153.33%)
Mutual labels:  tvos

TvOSTextViewer

Twitter: @dcordero License MIT Swift 5.0 Build Status

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
  • textEdgeInsets: Margins for the text
  • backgroundBlurEffectStyle: .dark by default
  • textAttributes: Custom fonts/sizes, text colors, alignment, etc... via NSAttributedText

Requirements

  • tvOS 9.0+
  • Xcode 11

Installation

Cocoapods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate TvOSTextViewer into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :tvos, '9.0'
use_frameworks!

target '<Your Target Name>' do
    pod 'TvOSTextViewer', '~> 1.3.0'
end

Then, run the following command:

$ pod install

Carthage

Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

You can install Carthage with Homebrew using the following command:

$ brew update
$ brew install carthage

To integrate TvOSTextViewer into your Xcode project using Carthage, specify it in your Cartfile:

github "dcordero/TvOSTextViewer" ~> 1.3.0

Run carthage update to build the framework and drag the built TvOSTextViewer.framework into your Xcode project.

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)

If you would like to show this fullscreen view comming from an awesome button cropping the text on the same way Apple does, you can use it in combination with TvOSMoreButton by cgoldsby

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].