{"id":28285549,"url":"https://github.com/hkm5558/kmalertview","last_synced_at":"2025-06-16T11:31:36.213Z","repository":{"id":56917386,"uuid":"96268425","full_name":"hkm5558/KMAlertView","owner":"hkm5558","description":"一款自定义的AlertView 附带动画效果","archived":false,"fork":false,"pushed_at":"2018-02-06T02:54:17.000Z","size":13959,"stargazers_count":15,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-21T19:17:18.196Z","etag":null,"topics":["alert","alertview","cocoapods","kmalertview","objective-c","podfile"],"latest_commit_sha":null,"homepage":"","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/hkm5558.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":"2017-07-05T02:24:32.000Z","updated_at":"2023-04-20T03:20:38.000Z","dependencies_parsed_at":"2022-08-21T03:50:43.521Z","dependency_job_id":null,"html_url":"https://github.com/hkm5558/KMAlertView","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/hkm5558/KMAlertView","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hkm5558%2FKMAlertView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hkm5558%2FKMAlertView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hkm5558%2FKMAlertView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hkm5558%2FKMAlertView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hkm5558","download_url":"https://codeload.github.com/hkm5558/KMAlertView/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hkm5558%2FKMAlertView/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260150515,"owners_count":22966326,"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":["alert","alertview","cocoapods","kmalertview","objective-c","podfile"],"created_at":"2025-05-21T19:17:09.972Z","updated_at":"2025-06-16T11:31:36.203Z","avatar_url":"https://github.com/hkm5558.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KMAlertView\n一款自定义的AlertView\n\n\n## What’s it look like?\n\n### NoneBlur\n\n\u003cimg src=\"https://github.com/hkm5558/KMAlertView/blob/master/Screenshot/NoneBlur1.png\" width=\"192\"\u003e \u003cimg src=\"https://github.com/hkm5558/KMAlertView/blob/master/Screenshot/NoneBlur2.png\" width=\"192\"\u003e \u003cimg src=\"https://github.com/hkm5558/KMAlertView/blob/master/Screenshot/NoneBlur3.png\" width=\"192\"\u003e \u003cimg src=\"https://github.com/hkm5558/KMAlertView/blob/master/Screenshot/NoneBlur4.png\" width=\"192\"\u003e \u003cimg src=\"https://github.com/hkm5558/KMAlertView/blob/master/Screenshot/NoneBlur5.png\" width=\"192\"\u003e\n\n### LightBlur\n\u003cimg src=\"https://github.com/hkm5558/KMAlertView/blob/master/Screenshot/LightBlur1.png\" width=\"192\"\u003e \u003cimg src=\"https://github.com/hkm5558/KMAlertView/blob/master/Screenshot/LightBlur2.png\" width=\"192\"\u003e \u003cimg src=\"https://github.com/hkm5558/KMAlertView/blob/master/Screenshot/LightBlur3.png\" width=\"192\"\u003e \u003cimg src=\"https://github.com/hkm5558/KMAlertView/blob/master/Screenshot/LightBlur4.png\" width=\"192\"\u003e \u003cimg src=\"https://github.com/hkm5558/KMAlertView/blob/master/Screenshot/LightBlur5.png\" width=\"192\"\u003e\n\n### DarkBlur\n\u003cimg src=\"https://github.com/hkm5558/KMAlertView/blob/master/Screenshot/DarkBlur1.png\" width=\"192\"\u003e \u003cimg src=\"https://github.com/hkm5558/KMAlertView/blob/master/Screenshot/DarkBlur2.png\" width=\"192\"\u003e \u003cimg src=\"https://github.com/hkm5558/KMAlertView/blob/master/Screenshot/DarkBlur3.png\" width=\"192\"\u003e \u003cimg src=\"https://github.com/hkm5558/KMAlertView/blob/master/Screenshot/DarkBlur4.png\" width=\"192\"\u003e \u003cimg src=\"https://github.com/hkm5558/KMAlertView/blob/master/Screenshot/DarkBlur5.png\" width=\"192\"\u003e\n\n\n## Animate\n\n\u003cimg src=\"https://github.com/hkm5558/KMAlertView/blob/master/Screenshot/ScaleInScaleOut.gif\" width=\"192\"\u003e \u003cimg src=\"https://github.com/hkm5558/KMAlertView/blob/master/Screenshot/TopInBottomOut.gif\" width=\"192\"\u003e \u003cimg src=\"https://github.com/hkm5558/KMAlertView/blob/master/Screenshot/LeftInRightOut.gif\" width=\"192\"\u003e \u003cimg src=\"https://github.com/hkm5558/KMAlertView/blob/master/Screenshot/Angle.gif\" width=\"192\"\u003e\n\n## Installation with CocoaPods\n\n[CocoaPods](http://cocoapods.org) is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries. You can install it with the following command:\n\n```bash\n$ gem install cocoapods\n```\n#### Podfile\n\nTo integrate KMAlertView into your Xcode project using CocoaPods, specify it in your `Podfile`:\n\nIn your Podfile\n\u003e`pod 'KMAlertView'`\n\nThen, run the following command:\n\n```bash\n$ pod install\n```\n## Requirements\n\nThis library requires `iOS 8.0+`\n\n\n## Usage\n\n\n```obj-c\n\n    ///Title only\n    [KMAlertView showAlertWithTitle:@\"Title only\"];\n\n    ///Message only\n    [KMAlertView showAlertWithMessage:@\"Message only\"];\n    \n    ///Title \u0026 Message \u0026 CallBackBlock\n    [KMAlertView showAlertWithTitle:self.shortTitle message:self.shortMessage callBackBlock:^(NSInteger buttonIndex, NSString *buttonTitle) {\n    \n    }];\n    \n    ///Title \u0026 Message \u0026 ButtonTitles \u0026 CallBackBlock\n    [KMAlertView showAlertWithTitle:@\"Title\" message:@\"Message\" buttonTitles:@[@\"button1\", @\"button2\"] callBackBlock:^(NSInteger buttonIndex, NSString *buttonTitle) {\n    \n    }];\n    \n    ///Setting With StyleConfigBlock\n    [KMAlertView showAlertWithStyleConfigBlock:^KMAlertStyle *(KMAlertStyle *alertStyle) {\n        return [KMAlertStyle new];\n    } callBackBlock:^(NSInteger buttonIndex, NSString *buttonTitle) {\n    \n    }];\n    \n    ///ButtonTitles \u0026 StyleConfigBlock\n    [KMAlertView showAlertWithButtonTitles:@[@\"button1\", @\"button2\"] styleConfigBlock:^KMAlertStyle *(KMAlertStyle *alertStyle) {\n        return [KMAlertStyle new];\n    } callBackBlock:^(NSInteger buttonIndex, NSString *buttonTitle) {\n    \n    }];\n    \n    ///AlertView Dismiss\n    [alertView dismissWithCompletion:^{\n    \n    }];\n\n```\n\n## Author\n\nhkm5558, SZHuangKM@163.com\n\n## License\n\nKMAlertView 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%2Fhkm5558%2Fkmalertview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhkm5558%2Fkmalertview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhkm5558%2Fkmalertview/lists"}