{"id":16283500,"url":"https://github.com/tezpark/tezalertview","last_synced_at":"2025-09-08T05:33:07.017Z","repository":{"id":32753801,"uuid":"36344838","full_name":"tezpark/TezAlertView","owner":"tezpark","description":"Custom singleton alertView with block completion.","archived":false,"fork":false,"pushed_at":"2017-05-25T02:26:54.000Z","size":79,"stargazers_count":17,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-12-29T14:51:58.685Z","etag":null,"topics":["alert","alertview","customalertview","ios","objc","objective-c","singleton"],"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/tezpark.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":"2015-05-27T05:21:02.000Z","updated_at":"2024-08-20T02:00:33.000Z","dependencies_parsed_at":"2022-08-21T05:20:49.664Z","dependency_job_id":null,"html_url":"https://github.com/tezpark/TezAlertView","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/tezpark%2FTezAlertView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tezpark%2FTezAlertView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tezpark%2FTezAlertView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tezpark%2FTezAlertView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tezpark","download_url":"https://codeload.github.com/tezpark/TezAlertView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232282903,"owners_count":18499329,"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","customalertview","ios","objc","objective-c","singleton"],"created_at":"2024-10-10T19:13:35.309Z","updated_at":"2025-01-03T02:59:37.743Z","avatar_url":"https://github.com/tezpark.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GitHub platform](https://img.shields.io/badge/platform-ios-lightgrey.svg)]() \n[![GitHub language](https://img.shields.io/badge/language-objective--c-6BAEE4.svg)]()\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/tezpark/AlternateIconName-objC/master/LICENSE)\n[![Travis](https://travis-ci.org/tezpark/TezAlertView.svg?branch=master)]()\n\n# TezAlertView\nCustom singleton alertView with block completion.\n\n* Simple custom alertView.\n* Using completion block and singleton.\n* Next commit is auto dismiss alert.\n\n![ios simulator screen shot 2015 5 31 9 27 40](https://cloud.githubusercontent.com/assets/389004/7901926/2855f8be-07dc-11e5-9123-20f1d1034987.png)\n![ios simulator screen shot 2015 5 31 9 28 16](https://cloud.githubusercontent.com/assets/389004/7901927/2856dd60-07dc-11e5-944a-a39ee470715d.png)\n\n\n## Installation\n#### CocoaPods\nTezAlertView is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod \"TezAlertView\"\n```\n\n# Usage\n```objective-c\nTezAlertView *alertView = [[TezAlertView alloc] init];\n[alertView showAlertViewWithTitle:@\"This is Title!\"\n                          message:@\"I am a message\"\n               dismissButtonTitle:@\"Ok\"\n                     dismissBlock:^{\n                         NSLog(@\"Dismiss Block!\");\n                     }];\n            \n/************            \n  Singleton\n************/\n[[TezAlertView sharedInstance] showAlertViewWithTitle:@\"This is Title!\"\n                                   dismissButtonTitle:@\"Ok\"\n                                         dismissBlock:^{\n                                             NSLog(@\"Dismiss Block!\");\n                                         }];\n                                         \n[[TezAlertView sharedInstance] showAlertViewWithMessage:@\"I am a message\"\n                                     dismissButtonTitle:@\"Ok\"\n                                           dismissBlock:^{\n                                             NSLog(@\"Dismiss Block!\");\n                                         }];\n\n[[TezAlertView sharedInstance] showAlertViewWithTitle:nil\n                                              message:@\"I am a message\"\n                                   dismissButtonTitle:@\"Ok\"\n                                         dismissBlock:^{\n                                             NSLog(@\"Dismiss Block!\");\n                                         }];\n\n[[TezAlertView sharedInstance] showAlertViewWithTitle:@\"This is Title!\"\n                                              message:@\"I am a message\"\n                                   dismissButtonTitle:@\"Ok\"\n                                    cancelButtonTitle:@\"Close\"\n                                         dismissBlock:^{\n                                             NSLog(@\"Dismiss Block!\");\n                                         } cancelBlock:^{\n                                             NSLog(@\"Cancel Block!\");\n                                         }];\n\n[[TezAlertView sharedInstance] showAlertViewWithTitle:@\"This is Title!\"\n                                   dismissButtonTitle:@\"Ok\"\n                                    cancelButtonTitle:@\"Close\"\n                                         dismissBlock:^{\n                                             NSLog(@\"Dismiss Block!\");\n                                         } cancelBlock:^{\n                                             NSLog(@\"Cancel Block!\");\n                                         }];\n\n[[TezAlertView sharedInstance] showAlertViewWithMessage:@\"I am a message\"\n                                   dismissButtonTitle:@\"Ok\"\n                                    cancelButtonTitle:@\"Close\"\n                                         dismissBlock:^{\n                                             NSLog(@\"Dismiss Block!\");\n                                         } cancelBlock:^{\n                                             NSLog(@\"Cancel Block!\");\n                                         }];\n```\n\n\n# License\nThe MIT License (MIT)\n\nCopyright (c) 2015 Taesun Park\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftezpark%2Ftezalertview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftezpark%2Ftezalertview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftezpark%2Ftezalertview/lists"}