[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-7136":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":22,"createdAt":10,"pushedAt":10,"updatedAt":29,"readmeContent":30,"aiSummary":31,"trendingCount":16,"starSnapshotCount":16,"syncStatus":32,"lastSyncTime":33,"discoverSource":34},7136,"PMAlertController","pmusolino\u002FPMAlertController","pmusolino","PMAlertController is a great and customizable alert that can substitute UIAlertController","",null,"Swift",2506,184,34,8,0,1,58.9,"MIT License",false,"master",[23,24,25,26,27,28],"alert","banner","dialog","modal","popup","swift","2026-06-12 04:00:32","\u003Cp align=\"center\">\n  \u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fpmusolino\u002FPMAlertController\u002Fmaster\u002Flogo_pmalertcontroller.png\" alt=\"Icon\"\u002F>\n\u003C\u002Fp>\n\n\n  [![Language](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FSwift-4%20%26%205-orange.svg)]()\n  [![GitHub license](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-MIT-lightgrey)](https:\u002F\u002Fgithub.com\u002Fpmusolino\u002FPMAlertController\u002Fblob\u002Fmaster\u002FLICENSE)\n  [![Pod version](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FCocoapods-compatible%20-blue)](https:\u002F\u002Fcocoapods.org\u002Fpods\u002FPMAlertController)\n  [![Carthage Compatible](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FCarthage-compatible-yellow.svg)](https:\u002F\u002Fgithub.com\u002FCarthage\u002FCarthage)\n\n\nPMAlertController is a small library that allows you to substitute Apple's uncustomizable `UIAlertController`, with a beautiful and totally customizable alert that you can use in your iOS app. Enjoy!\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fpmusolino\u002FPMAlertController\u002Fmaster\u002Fpreview_pmalertacontroller.png\" width=800 alt=\"Icon\"\u002F>\n\u003C\u002Fp>\n\n## Features\n----------------\n\n- [x] Header View\n- [x] Header Image (Optional)\n- [x] Title\n- [x] Description message\n- [x] Customizations: fonts, colors, dimensions & more\n- [x] 1, 2 buttons (horizontally) or 3+ buttons (vertically)\n- [x] Closure when a button is pressed\n- [x] Text Fields support\n- [x] Similar implementation to UIAlertController\n- [x] Cocoapods\n- [x] Carthage\n- [x] Animation with UIKit Dynamics\n- [x] Objective-C compatibility\n- [x] Swift 4, Swift 4.2 & Swift 5 support\n- [ ] Swift Package Manager\n\n\n## Requirements\n----------------\n\n- iOS 9.0+\n- Xcode 10+\n\n## CocoaPods\n----------------\n\n[CocoaPods](http:\u002F\u002Fcocoapods.org) is a dependency manager for Cocoa projects. You can install it with the following command:\n\n```bash\n$ gem install cocoapods\n```\n\nTo integrate PMAlertController into your Xcode project using CocoaPods, specify it in your `Podfile`:\n\n\n```ruby\nsource 'https:\u002F\u002Fgithub.com\u002FCocoaPods\u002FSpecs.git'\nplatform :ios, '9.0'\nuse_frameworks!\n\npod 'PMAlertController'\n```\n\nThen, run the following command:\n\n```bash\n$ pod install\n```\n\n## Carthage\n----------------\n\n[Carthage](https:\u002F\u002Fgithub.com\u002FCarthage\u002FCarthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.\n\nYou can install Carthage with [Homebrew](http:\u002F\u002Fbrew.sh\u002F) using the following command:\n\n```bash\n$ brew update\n$ brew install carthage\n```\n\nTo integrate PMAlertController into your Xcode project using Carthage, specify it in your `Cartfile`:\n\n```ogdl\ngithub \"pmusolino\u002FPMAlertController\"\n```\n\nRun `carthage update` to build the framework and drag the built `PMAlertController.framework` into your Xcode project.\n\n## Manually\n----------------\n1. Download and drop ```\u002FLibrary``` folder in your project.  \n2. Congratulations!  \n\n## Usage\n----------------\nThe usage is very similar to `UIAlertController`.\n`PMAlertController` has two styles: Alert & Walkthrough.\n\n**Alert Style:** with this style, the alert has the width of 270 points, like Apple's `UIAlertController`.\n\n**Walkthrough Style:** with walkthrough, the alert has the width of the screen minus 18 points from the left and the right bounds. This mode is intended to be used before authorization requests like the ones for location, push notifications and more.\n\n#### Show a simple alert with two buttons and one textfield\n\n```swift\n\u002F\u002FThis code works with Swift 5\n\nlet alertVC = PMAlertController(title: \"A Title\", description: \"My Description\", image: UIImage(named: \"img.png\"), style: .alert)\n\nalertVC.addAction(PMAlertAction(title: \"Cancel\", style: .cancel, action: { () -> Void in\n            print(\"Capture action Cancel\")\n        }))\n\nalertVC.addAction(PMAlertAction(title: \"OK\", style: .default, action: { () in\n            print(\"Capture action OK\")\n        }))\n\nalertVC.addTextField { (textField) in\n            textField?.placeholder = \"Location...\"\n        }\n\nself.present(alertVC, animated: true, completion: nil)\n\n```\n\n## Swift compatibility\n\n- If you use **Swift 5.0 or higher**, you can use the [latest release](https:\u002F\u002Fgithub.com\u002Fpmusolino\u002FPMAlertController\u002Freleases).\n\n- If you use **Swift 4**, you can use the [release 3.5.0](https:\u002F\u002Fgithub.com\u002Fpmusolino\u002FPMAlertController\u002Freleases\u002Ftag\u002F3.5.0).\n\n- If you use **Swift 3**, you can use the [release 2.1.3](https:\u002F\u002Fgithub.com\u002Fpmusolino\u002FPMAlertController\u002Freleases\u002Ftag\u002F2.1.3).\n\n- If you use **Swift 2.3**, you can use the [release 1.1.0](https:\u002F\u002Fgithub.com\u002Fpmusolino\u002FPMAlertController\u002Freleases\u002Ftag\u002F1.1.0)\n\n- If you use **Swift 2.2**, you can use the [release 1.0.5](https:\u002F\u002Fgithub.com\u002Fpmusolino\u002FPMAlertController\u002Freleases\u002Ftag\u002F1.0.5)\n\n\n## Third Party Bindings\n\n### React Native\nYou may now use this library with [React Native](https:\u002F\u002Fgithub.com\u002Ffacebook\u002Freact-native) via the module [here](https:\u002F\u002Fgithub.com\u002FprscX\u002Freact-native-styled-dialogs)\n\n\n## Contributing\n\n- If you **need help** or you'd like to **ask a general question**, open an issue.\n- If you **found a bug**, open an issue.\n- If you **have a feature request**, open an issue.\n- If you **want to contribute**, submit a pull request.\n\n\n## Acknowledgements\n\n**Made with ❤️ by [Paolo Musolino](https:\u002F\u002Fgithub.com\u002Fpmusolino).**\n\n***Follow me on:***\n#### 💼 [Linkedin](https:\u002F\u002Fwww.linkedin.com\u002Fin\u002Fpaolomusolino\u002F)\n\n#### 🤖 [Twitter](https:\u002F\u002Ftwitter.com\u002Fpmusolino)\n\n#### 🌇 [Instagram](https:\u002F\u002Fwww.instagram.com\u002Fpmusolino\u002F)\n\n#### 👨🏼‍🎤 [Facebook](https:\u002F\u002Fwww.facebook.com\u002Fpaolomusolino)\n\n\n## MIT License\n----------------\nPMAlertController is available under the MIT license. See the LICENSE file for more info.\n","PMAlertController 是一个可替代 UIAlertController 的美观且高度可定制的警告框库。它支持自定义标题视图、标题图片、描述信息以及字体颜色等属性，同时提供1至多个按钮布局选项，并且能够处理文本输入。此外，该组件兼容 Swift 4 及以上版本，支持 CocoaPods 和 Carthage 集成方式，使用 UIKit Dynamics 实现动画效果。适用于需要在iOS应用中展示更个性化或功能更丰富的弹窗场景，如用户登录注册界面、重要信息提示等。",2,"2026-06-11 03:10:41","top_language"]