{"id":20646197,"url":"https://github.com/adrum/tvalert","last_synced_at":"2025-03-09T16:32:17.543Z","repository":{"id":42576968,"uuid":"55868658","full_name":"adrum/tvalert","owner":"adrum","description":"tvOS style alerts","archived":false,"fork":false,"pushed_at":"2016-12-18T19:43:29.000Z","size":956,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-05T22:06:05.106Z","etag":null,"topics":[],"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/adrum.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2016-04-09T21:53:30.000Z","updated_at":"2020-03-22T16:38:34.000Z","dependencies_parsed_at":"2022-07-08T08:09:04.873Z","dependency_job_id":null,"html_url":"https://github.com/adrum/tvalert","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrum%2Ftvalert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrum%2Ftvalert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrum%2Ftvalert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrum%2Ftvalert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adrum","download_url":"https://codeload.github.com/adrum/tvalert/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242718665,"owners_count":20174384,"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":[],"created_at":"2024-11-16T16:24:44.339Z","updated_at":"2025-03-09T16:32:17.513Z","avatar_url":"https://github.com/adrum.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TVAlert\n\n[![CI Status](https://img.shields.io/travis/adrum/tvalert.svg?style=flat)](https://img.shields.io/travis/adrum/tvalert)\n[![Version](https://img.shields.io/cocoapods/v/TVAlert.svg?style=flat)](http://cocoapods.org/pods/TVAlert)\n[![License](https://img.shields.io/cocoapods/l/TVAlert.svg?style=flat)](http://cocoapods.org/pods/TVAlert)\n[![Platform](https://img.shields.io/cocoapods/p/TVAlert.svg?style=flat)](http://cocoapods.org/pods/TVAlert)\n\n\n![preview](preview.gif)\n\n\n## Usage\n\nTVAlert's usage is the same as `UIAlertController`. Just replace `UI` with `TV` on both `UIAlertController` and `UIAlertAction`\n\n```swift\nlet alertController = TVAlertController(title: \"Title\", message: \"Message\", preferredStyle: .alert)\n\nalertController.style = style\n\nlet OKAction = TVAlertAction(title: \"OK\", style: .default) { (action) in\n// ...\n}\nalertController.addAction(OKAction)\n\nlet cancelAction = TVAlertAction(title: \"Cancel\", style: .cancel) { (action) in\n// ...\n}\nalertController.addAction(cancelAction)\n\n\nself.present(alertController, animated: true) {\n// ...\n}\n```\n\n## Requirements\n\n## Installation\n\nTVAlert is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod \"TVAlert\"\n```\n\n## Author\n\nAustin Drummond, adrum0x7@gmail.com\n\n## License\n\nTVAlert is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrum%2Ftvalert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadrum%2Ftvalert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrum%2Ftvalert/lists"}