{"id":32310502,"url":"https://github.com/lit-technology/error-view","last_synced_at":"2025-10-23T08:52:11.182Z","repository":{"id":56910110,"uuid":"186140169","full_name":"lit-technology/error-view","owner":"lit-technology","description":"Beautifully animated error view.","archived":false,"fork":false,"pushed_at":"2019-05-11T14:06:06.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-27T06:25:11.372Z","etag":null,"topics":["animated","error-dialog","error-display","error-handling","ios"],"latest_commit_sha":null,"homepage":null,"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/lit-technology.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":"2019-05-11T14:04:22.000Z","updated_at":"2021-02-10T11:45:44.000Z","dependencies_parsed_at":"2022-08-20T19:50:34.990Z","dependency_job_id":null,"html_url":"https://github.com/lit-technology/error-view","commit_stats":null,"previous_names":["philip-bui/error-view"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/lit-technology/error-view","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lit-technology%2Ferror-view","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lit-technology%2Ferror-view/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lit-technology%2Ferror-view/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lit-technology%2Ferror-view/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lit-technology","download_url":"https://codeload.github.com/lit-technology/error-view/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lit-technology%2Ferror-view/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280591290,"owners_count":26356542,"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","status":"online","status_checked_at":"2025-10-23T02:00:06.710Z","response_time":142,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["animated","error-dialog","error-display","error-handling","ios"],"created_at":"2025-10-23T08:52:08.910Z","updated_at":"2025-10-23T08:52:11.170Z","avatar_url":"https://github.com/lit-technology.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# Error View\n[![CI Status](http://img.shields.io/travis/philip-bui/error-view.svg?style=flat)](https://travis-ci.org/philip-bui/error-view)\n[![CodeCov](https://codecov.io/gh/philip-bui/error-view/branch/master/graph/badge.svg)](https://codecov.io/gh/philip-bui/error-view)\n[![Version](https://img.shields.io/cocoapods/v/ErrorView.svg?style=flat)](http://cocoapods.org/pods/ErrorView)\n[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![Platform](https://img.shields.io/cocoapods/p/ErrorView.svg?style=flat)](http://cocoapods.org/pods/ErrorView)\n[![License](https://img.shields.io/cocoapods/l/ErrorView.svg?style=flat)](https://github.com/philip-bui/error-view/blob/master/LICENSE)\n\nError View appendable to View Controllers subviews.\n\n- Animated in and out effects.\n- Text shake effects.\n\n## Requirements\n\n- iOS 9.0+\n- Xcode 10.3+\n- Swift 4.2+\n\n## Installation\n\n### CocoaPods\n\n[CocoaPods](https://cocoapods.org) is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate Error View into your Xcode project using CocoaPods, specify it in your `Podfile`:\n\n```ruby\npod 'ErrorView'\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. To integrate Error View into your Xcode project using Carthage, specify it in your `Cartfile`:\n\n```ogdl\ngithub \"philip-bui/error-view\"\n```\n\n### Swift Package Manager\n\nThe [Swift Package Manager](https://swift.org/package-manager/) is a tool for automating the distribution of Swift code and is integrated into the `swift` compiler. It is in early development, but Error View does support its use on supported platforms.\n\nOnce you have your Swift package set up, adding Error View as a dependency is as easy as adding it to the `dependencies` value of your `Package.swift`.\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/philip-bui/error-view.git\", from: \"1.0.0\"))\n]\n```\n\n## Usage\n\n```swift\nimport ErrorView\n\n// AppDelegate.swift - Modify global defaults.\nErrorView.backgroundColor = UIColor.orange\nErrorView.font = UIFont.boldSystemFont(ofSize: 14.5)\nErrorView.textColor = UIFont.white\n\n// ViewController.swift - Customize own error views\nprivate weak var errorView: ErrorView?\n\nprivate func textViewDidBeginEditing(_ textView: UITextView) {\n\terrorView?.dismiss()\t\n}\n\nprivate func textViewDidEndEditing(_ textView: UITextView) {\n\tguard true else {\n\t\terrorView = ErrorView(addTo: self, text: \"Invalid text\")\n\t\treturn\n\t}\n}\n```\n\n## License\n\nError View is available under the MIT license. [See LICENSE](https://github.com/philip-bui/error-view/blob/master/LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flit-technology%2Ferror-view","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flit-technology%2Ferror-view","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flit-technology%2Ferror-view/lists"}