{"id":787,"url":"https://github.com/dcordero/TvOSTextViewer","last_synced_at":"2025-07-30T19:32:09.683Z","repository":{"id":17497839,"uuid":"82110123","full_name":"dcordero/TvOSTextViewer","owner":"dcordero","description":"Light and scrollable view controller for tvOS to present blocks of text","archived":false,"fork":false,"pushed_at":"2022-03-09T23:08:19.000Z","size":2347,"stargazers_count":49,"open_issues_count":1,"forks_count":6,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-13T02:46:29.920Z","etag":null,"topics":["swift","tvos"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dcordero.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-15T21:45:30.000Z","updated_at":"2023-10-25T07:23:33.000Z","dependencies_parsed_at":"2022-08-07T08:16:03.079Z","dependency_job_id":null,"html_url":"https://github.com/dcordero/TvOSTextViewer","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcordero%2FTvOSTextViewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcordero%2FTvOSTextViewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcordero%2FTvOSTextViewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcordero%2FTvOSTextViewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcordero","download_url":"https://codeload.github.com/dcordero/TvOSTextViewer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228178882,"owners_count":17881104,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["swift","tvos"],"created_at":"2024-01-05T20:15:31.312Z","updated_at":"2024-12-04T19:31:55.228Z","avatar_url":"https://github.com/dcordero.png","language":"Swift","readme":"# TvOSTextViewer\n[![Twitter: @dcordero](https://img.shields.io/badge/contact-@dcordero-blue.svg?style=flat)](https://twitter.com/dcordero)\n![License MIT](https://img.shields.io/badge/license-MIT-green.svg)\n![Swift 5.0](https://img.shields.io/badge/Swift-5.0-orange.svg)\n[![Build Status](https://travis-ci.org/dcordero/TvOSTextViewer.svg?branch=master)](https://travis-ci.org/dcordero/TvOSTextViewer)\n\nLight and scrollable view controller for tvOS to present blocks of text\n\n![](preview.gif)\n\n## Description\n\nTvOSTextViewer is a view controller to present blocks of text on the same way native Apps do it on tvOS.\n\nCustomizable properties:\n\n- text: The block of text to be presented\n- textEdgeInsets: Margins for the text\n- backgroundBlurEffectStyle: .dark by default\n- textAttributes: Custom fonts/sizes, text colors, alignment, etc... via [NSAttributedText](https://developer.apple.com/documentation/uikit/uilabel/1620542-attributedtext)\n\n## Requirements\n\n- tvOS 9.0+\n- Xcode 11\n\n## Installation\n\n### Cocoapods\n\n[CocoaPods](https://cocoapods.org) is a dependency manager for Cocoa projects. You can install it with the following command:\n\n```\n$ gem install cocoapods\n```\n\nTo integrate TvOSTextViewer into your Xcode project using CocoaPods, specify it in your Podfile:\n\n\n```ruby\nsource 'https://github.com/CocoaPods/Specs.git'\nplatform :tvos, '9.0'\nuse_frameworks!\n\ntarget '\u003cYour Target Name\u003e' do\n    pod 'TvOSTextViewer', '~\u003e 1.3.0'\nend\n```\n\nThen, run the following command:\n\n```\n$ pod install\n```\n\n### Carthage\n\n[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.\n\nYou can install Carthage with Homebrew using the following command:\n\n```\n$ brew update\n$ brew install carthage\n```\n\nTo integrate TvOSTextViewer into your Xcode project using Carthage, specify it in your Cartfile:\n\n```\ngithub \"dcordero/TvOSTextViewer\" ~\u003e 1.3.0\n```\n\nRun `carthage update` to build the framework and drag the built TvOSTextViewer.framework into your Xcode project.\n\n## Usage\n\nAll you need is to create an instance of TvOSTextViewerViewController and present it on the screen:\n\n```swift\nlet viewController = TvOSTextViewerViewController()\nviewController.text = \"Hello World\"\npresent(viewController, animated: true, completion: nil)\n```\n\nIf 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](https://github.com/cgoldsby/TvOSMoreButton) by [cgoldsby](https://twitter.com/GoldsbyChris)\n\n","funding_links":[],"categories":["Apple TV"],"sub_categories":["Other free courses","Getting Started"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcordero%2FTvOSTextViewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcordero%2FTvOSTextViewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcordero%2FTvOSTextViewer/lists"}