{"id":16697700,"url":"https://github.com/aozhimin/aaalertcontroller","last_synced_at":"2025-04-10T02:53:12.597Z","repository":{"id":56840080,"uuid":"88251479","full_name":"aozhimin/AAAlertController","owner":"aozhimin","description":"AAAlertController is extension of the UIAlertController, provide custom styles and animations","archived":false,"fork":false,"pushed_at":"2017-05-12T14:17:36.000Z","size":4724,"stargazers_count":7,"open_issues_count":0,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-24T14:29:22.895Z","etag":null,"topics":["alertcontroller","objective-c","popup-dialog","uicomponent"],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","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/aozhimin.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-04-14T08:56:58.000Z","updated_at":"2021-05-06T00:29:31.000Z","dependencies_parsed_at":"2022-08-28T23:31:04.235Z","dependency_job_id":null,"html_url":"https://github.com/aozhimin/AAAlertController","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aozhimin%2FAAAlertController","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aozhimin%2FAAAlertController/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aozhimin%2FAAAlertController/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aozhimin%2FAAAlertController/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aozhimin","download_url":"https://codeload.github.com/aozhimin/AAAlertController/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248147248,"owners_count":21055507,"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":["alertcontroller","objective-c","popup-dialog","uicomponent"],"created_at":"2024-10-12T17:48:54.305Z","updated_at":"2025-04-10T02:53:12.579Z","avatar_url":"https://github.com/aozhimin.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AAAlertController\n\n![logo](images/logo.png)\n\n[![CI Status](http://img.shields.io/travis/aozhimin/AAAlertController.svg?style=flat)](https://travis-ci.org/aozhimin/AAAlertController)\n[![Version](https://img.shields.io/cocoapods/v/AAAlertController.svg?style=flat)](http://cocoapods.org/pods/AAAlertController)\n[![License](https://img.shields.io/cocoapods/l/AAAlertController.svg?style=flat)](http://cocoapods.org/pods/AAAlertController)\n[![Platform](https://img.shields.io/cocoapods/p/AAAlertController.svg?style=flat)](http://cocoapods.org/pods/AAAlertController)\n\n# Overview\n`AAAlertController` is a lightweight UI component to present a popup style dialog, it provide alert style and action sheet style. It's easy to use and integrate in your project. The API is just like `UIAlertController` which you will see the usage in demo\n\n## Sample project\nWe provided sample project, To run the it, after you clone the repo, open the workspace file.\n\n![Demo](images/demo.gif)\n\n## Requirements\n`AAAlertController ` works on iOS 7.0+ and requires ARC to build.\n\n\n## Installation\n\n`AAAlertController` is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod \"AAAlertController\"\n```\n\nand edit pod file, install `AAAlertController` into your project just excute command as follow:\n\n```ruby\npod install\n```\n\n## Usage\n(see the usage which I put in the sample project)\n\n### AAAlertStyleAlert\n\n```objective-c\n    AAPresentViewController *popupVC = [[UIStoryboard storyboardWithName:@\"Main\" bundle:nil]\n                                        instantiateViewControllerWithIdentifier:@\"AAAlertStyleViewController\"];\n        popupVC.view.frame = CGRectMake(0, 0, 300, 280);\n    AAAlertController *alertController =\n    [[AAAlertController alloc] initWithContentViewController:popupVC\n                                           andPreferredStyle:AAAlertStyleAlert\n                                          andAnimationOption:animationOption];\n    [self presentViewController:alertController animated:YES completion:nil];\n```\n\n### AAAlertStyleStyleActionSheet\n\n```objective-c\n    AAPresentViewController *popupVC = [[UIStoryboard storyboardWithName:@\"Main\" bundle:nil]\n                                        instantiateViewControllerWithIdentifier:@\"AAActionSheetStyleViewController\"];\n        popupVC.view.frame = CGRectMake(0, 0, CGRectGetWidth(self.view.bounds), 200);\n    AAAlertController *alertController =\n    [[AAAlertController alloc] initWithContentViewController:popupVC\n                                           andPreferredStyle: AAAlertStyleStyleActionSheet\n                                          andAnimationOption:animationOption];\n    [self presentViewController:alertController animated:YES completion:nil];\n```\n\n## Author\n|Author|Gmail|Twitter|\n|:---:|:----:|:----:|\n|Alex Ao|aozhimin0811@gmail.com|[@Alex Ao](https://twitter.com/aozhimin0811)|\n\n## License\n\n`AAAlertController` 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%2Faozhimin%2Faaalertcontroller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faozhimin%2Faaalertcontroller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faozhimin%2Faaalertcontroller/lists"}