{"id":2469,"url":"https://github.com/ImKcat/CatAlertController","last_synced_at":"2025-08-03T00:30:54.324Z","repository":{"id":56905704,"uuid":"138714711","full_name":"imkcat/CatAlertController","owner":"imkcat","description":"Use UIAlertController like a boss.","archived":false,"fork":false,"pushed_at":"2018-12-07T02:06:31.000Z","size":164,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-18T03:36:51.687Z","etag":null,"topics":["ios","popup","swift","uialertcontroller"],"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/imkcat.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":"2018-06-26T09:21:29.000Z","updated_at":"2023-03-17T12:12:08.000Z","dependencies_parsed_at":"2022-08-20T19:20:15.814Z","dependency_job_id":null,"html_url":"https://github.com/imkcat/CatAlertController","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/imkcat%2FCatAlertController","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imkcat%2FCatAlertController/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imkcat%2FCatAlertController/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imkcat%2FCatAlertController/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imkcat","download_url":"https://codeload.github.com/imkcat/CatAlertController/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228503226,"owners_count":17930544,"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":["ios","popup","swift","uialertcontroller"],"created_at":"2024-01-05T20:16:14.502Z","updated_at":"2024-12-06T17:31:08.736Z","avatar_url":"https://github.com/imkcat.png","language":"Swift","funding_links":[],"categories":["UI"],"sub_categories":["Alert \u0026 Action Sheet"],"readme":"\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"https://github.com/ImKcat/CatAlertController/raw/master/CatAlertController-Logo.png\" alt=\"Logo\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"https://img.shields.io/badge/Language-swift4-EF5138.svg?style=flat\" alt=\"Language\"\u003e\n\t\u003ca href=\"http://cocoapods.org/pods/CatAlertController\"\u003e\u003cimg src=\"https://img.shields.io/cocoapods/p/CatAlertController.svg?style=flat\" alt=\"Support Platform\"\u003e\u003c/a\u003e\n\t\u003ca href=\"http://cocoapods.org/pods/CatAlertController\"\u003e\u003cimg src=\"https://img.shields.io/cocoapods/l/CatAlertController.svg?style=flat\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://github.com/Carthage/Carthage\"\u003e\u003cimg src=\"https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat\" alt=\"Carthage compatible\"\u003e\u003c/a\u003e\n\t\u003ca href=\"http://cocoapods.org/pods/CatAlertController\"\u003e\u003cimg src=\"https://img.shields.io/cocoapods/v/CatAlertController.svg?style=flat\" alt=\"CocoaPods Version\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://travis-ci.org/ImKcat/CatAlertController\"\u003e\u003cimg src=\"http://img.shields.io/travis/ImKcat/CatAlertController.svg?style=flat\" alt=\"Travis CI Status\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://codebeat.co/projects/github-com-imkcat-catalertcontroller-master\"\u003e\u003cimg src=\"https://codebeat.co/badges/98f6b5c0-d53e-4e1d-836c-7b083e1368a4\" alt=\"Codebeat\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://beerpay.io/ImKcat/CatAlertController\"\u003e\u003cimg src=\"https://beerpay.io/ImKcat/CatAlertController/badge.svg?style=flat\" alt=\"Beerpay\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n- [Description](#description)\n- [Requirements](#requirements)\n- [Installation](#installation)\n    - [CocoaPods](#cocoapods)\n    - [Carthage](#carthage)\n- [Usage](#usage)\n- [License](#license)\n\n## Description\n\nCatAlertController is a high level manager object that with chaining style for UIAlertController.\n\n\n## Requirements\n\n- Swift 4+\n- iOS 8.0+\n\n\n## Installation\n\nCatAlertController is available through [CocoaPods](http://cocoapods.org) and [Carthage](https://github.com/Carthage/Carthage).\n\n\n### CocoaPods\n\nAdd the following line to your Podfile:\n\n```ruby\nuse_frameworks!\n\npod 'CatAlertController'\n```\n\n\n### Carthage\n\nAdd the following line to your Cartfile:\n\n```ruby\ngithub \"ImKcat/CatAlertController\"\n```\n\n\n## Usage\n\nHere is the alert style sample code in iPhone:\n\n```swift\nCatAlertController(title: \"CatAlertController\", \n                    message: \"This is CatAlertController\", \n                    preferredStyle: UIAlertControllerStyle.alert)\n                    .addAction(UIAlertAction(title: \"Cancel\", style: UIAlertActionStyle.cancel))\n                    .addAction(UIAlertAction(title: \"OK\", style: UIAlertActionStyle.default))\n                    .flash(from: self, delay: 0.3)\n```\n\nHere is the action sheet style sample code in iPad:\n\n```swift\n// Don't worry the action sheet style present in iPad, it won't be crash, take it easy :)\nCatAlertController(title: \"CatAlertController\", \n                    message: \"This is CatAlertController\", \n                    preferredStyle: UIAlertControllerStyle.actionSheet)\n                    .addAction(UIAlertAction(title: \"Item 1\"))\n                    .addAction(UIAlertAction(title: \"Item 2\"))\n                    .addAction(UIAlertAction(title: \"Item 3\"))\n                    .addAction(UIAlertAction(title: \"Cancel\", style: UIAlertActionStyle.cancel))\n                    .flash(from: self, delay: 1)\n```\n\n## License\n\nCatAlertController 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%2FImKcat%2FCatAlertController","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FImKcat%2FCatAlertController","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FImKcat%2FCatAlertController/lists"}