{"id":13719806,"url":"https://github.com/RxSwiftCommunity/RxAlert","last_synced_at":"2025-05-07T11:32:39.688Z","repository":{"id":34840697,"uuid":"183885874","full_name":"RxSwiftCommunity/RxAlert","owner":"RxSwiftCommunity","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-05T04:23:42.000Z","size":867,"stargazers_count":50,"open_issues_count":0,"forks_count":13,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-15T00:05:11.519Z","etag":null,"topics":[],"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/RxSwiftCommunity.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-28T09:20:05.000Z","updated_at":"2024-08-05T04:23:45.000Z","dependencies_parsed_at":"2024-11-14T09:31:23.384Z","dependency_job_id":"55450a5a-e7d5-4d5b-bd7a-92c32b9ebf9c","html_url":"https://github.com/RxSwiftCommunity/RxAlert","commit_stats":{"total_commits":77,"total_committers":6,"mean_commits":"12.833333333333334","dds":"0.11688311688311692","last_synced_commit":"2e91018e254dc4374cc720ddc05388683201a557"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RxSwiftCommunity%2FRxAlert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RxSwiftCommunity%2FRxAlert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RxSwiftCommunity%2FRxAlert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RxSwiftCommunity%2FRxAlert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RxSwiftCommunity","download_url":"https://codeload.github.com/RxSwiftCommunity/RxAlert/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252869190,"owners_count":21816993,"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-08-03T01:00:55.792Z","updated_at":"2025-05-07T11:32:37.529Z","avatar_url":"https://github.com/RxSwiftCommunity.png","language":"Swift","readme":"# RxAlert\n\n## Overview\n\nWe have made it easy to implement UIAlertController using RxSwift.\n\n\n|build|status|\n|:-------|:---|\n|Github Actions|[![build](https://github.com/RxSwiftCommunity/RxAlert/actions/workflows/rxalert.yml/badge.svg)](https://github.com/RxSwiftCommunity/RxAlert/actions/workflows/rxalert.yml)|\n\n\n## Use it\n\n***Via SSH***: For those who plan on regularly making direct commits, cloning over SSH may provide a better experience (which requires uploading SSH keys to GitHub):\n\n```\n$ git clone git@github.com:RxSwiftCommunity/RxAlert.git\n```\n***Via https***: For those checking out sources as read-only, HTTPS works best:\n\n```\n$ git clone https://github.com/RxSwiftCommunity/RxAlert.git\n```\n\n## Carthage\n\nAdd following to Cartfile:\n\n```\ngithub \"RxSwiftCommunity/RxAlert\"\n```\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 RxAlert into your Xcode project using CocoaPods, add following line to the Podfile\n\n```\npod 'RxUIAlert'\n```\n\n## Usage\n\n[CocoaPods](http://cocoapods.org) is a dependency manager for Cocoa projects. You can install it with the following command:\n\n\n```\npod install \n```\n\n## Sample code\n\n```\n// normal alert\nrx.alert(title: \"RxAlert\",\n         message: \"We have made it easy to implement UIAlertController using RxSwift.\")\n   .subscribe()\n   .disposed(by: disposeBag)\n\n// textField\nrx.alert(title: \"RxAlert\",\n         message: \"We have made it easy to implement UIAlertController using RxSwift.\",\n         actions: [AlertAction(title: \"OK\", type: 0, style: .default),\n                   AlertAction(textField: UITextField(), placeholder: \"user name\"),\n                   AlertAction(textField: UITextField(), placeholder: \"password\")])\n    .subscribe(onNext: { (output) in\n        output.textFields?.forEach {\n            print ($0.text as? String?)\n        }})\n    .disposed(by: disposeBag)\n\n// actionsheet\nrx.alert(title: \"RxAlert\",\n         message: \"RxAlert Message\",\n         preferredStyle: .actionSheet)\n    .observeOn(MainScheduler.instance)\n    .subscribe(onNext: { index in\n        print(\"index: \\(index)\")\n    }).disposed(by: disposeBag)\n\n```\n\n[LICENCE](https://github.com/RxSwiftCommunity/RxAlert/blob/master/LICENSE)\n\nCopyright (c) RxSwiftCommunity\n","funding_links":[],"categories":["Libraries"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRxSwiftCommunity%2FRxAlert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRxSwiftCommunity%2FRxAlert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRxSwiftCommunity%2FRxAlert/lists"}