All Projects → tezpark → TezAlertView

tezpark / TezAlertView

Licence: MIT license
Custom singleton alertView with block completion.

Programming Languages

objective c
16641 projects - #2 most used programming language
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to TezAlertView

Sclalertview
Beautiful animated Alert View. Written in Objective-C
Stars: ✭ 3,426 (+20052.94%)
Mutual labels:  alert, alertview
Fftoast
A very powerful iOS message notifications and AlertView extensions. It can be easily realized from the top of the screen, the bottom of the screen and the middle of the screen pops up a notification. You can easily customize the pop-up View.
Stars: ✭ 649 (+3717.65%)
Mutual labels:  alert, alertview
Popupdialog
A simple, customizable popup dialog for iOS written in Swift. Replaces UIAlertController alert style.
Stars: ✭ 3,709 (+21717.65%)
Mutual labels:  alert, alertview
BalloonPopup
Forget Android Toast! BalloonPopup displays a round or squared popup and attaches it to a View, like a callout. Uses the Builder pattern for maximum ease. The popup can automatically hide and can persist when the value is updated.
Stars: ✭ 32 (+88.24%)
Mutual labels:  alert, alertview
Customalertviewdialogue
Custom AlertView Dialogue is the world's most advanced alert view library. Custom AlertView Dialogue includes simple message popups, confirmation alerts, selector popups, action sheet bottom menus, and input/feedback contact forms.
Stars: ✭ 100 (+488.24%)
Mutual labels:  alert, alertview
Cfnotify
A customizable framework to create draggable views
Stars: ✭ 490 (+2782.35%)
Mutual labels:  alert, alertview
Alerttransition
AlertTransition is a extensible library for making view controller transitions, especially for alert transitions.
Stars: ✭ 565 (+3223.53%)
Mutual labels:  alert, alertview
Lihalert
Advance animated alerts for iOS written in Swift
Stars: ✭ 34 (+100%)
Mutual labels:  alert, alertview
Tyalertcontroller
Powerful, Easy to use alert view or popup view on controller and window, support blur effects,custom view and animation,for objective-c,support iphone, ipad
Stars: ✭ 1,290 (+7488.24%)
Mutual labels:  alert, alertview
Cdalertview
Highly customizable alertview and alert/notification/success/error/alarm popup written in Swift
Stars: ✭ 1,056 (+6111.76%)
Mutual labels:  alert, alertview
Alertview
A library to create simple alerts easily with some customization.
Stars: ✭ 222 (+1205.88%)
Mutual labels:  alert, alertview
Kcustomalert
Simple and easy alerts to use instead of default AlertController. Separate Xib is provided to customize as pr your need. Callbacks are easily handled by using Closures.
Stars: ✭ 128 (+652.94%)
Mutual labels:  alert, alertview
AlertKit
🚨 SwiftUI alerts (and action sheets) done right
Stars: ✭ 60 (+252.94%)
Mutual labels:  alert, alertview
AppFacadeMVC
AppFacade For PureMVC
Stars: ✭ 13 (-23.53%)
Mutual labels:  singleton
vue2-dialog
A mobile Vue plugin for VueDialog
Stars: ✭ 21 (+23.53%)
Mutual labels:  alert
diffido
Watch web pages for changes
Stars: ✭ 19 (+11.76%)
Mutual labels:  alert
growl-alert
A simple growl like notification system.
Stars: ✭ 14 (-17.65%)
Mutual labels:  alert
react-redux-modal-flex
[DEPRECATED] Make easy a modal/popup with Redux
Stars: ✭ 14 (-17.65%)
Mutual labels:  alert
slackcat
A simple way of sending messages from the CLI output to your Slack with webhook.
Stars: ✭ 102 (+500%)
Mutual labels:  alert
TrendingCustomAlert
You can use a ready-made custom alert controller.
Stars: ✭ 25 (+47.06%)
Mutual labels:  alert

GitHub platform GitHub language GitHub license Travis

TezAlertView

Custom singleton alertView with block completion.

  • Simple custom alertView.
  • Using completion block and singleton.
  • Next commit is auto dismiss alert.

ios simulator screen shot 2015 5 31 9 27 40 ios simulator screen shot 2015 5 31 9 28 16

Installation

CocoaPods

TezAlertView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "TezAlertView"

Usage

TezAlertView *alertView = [[TezAlertView alloc] init];
[alertView showAlertViewWithTitle:@"This is Title!"
                          message:@"I am a message"
               dismissButtonTitle:@"Ok"
                     dismissBlock:^{
                         NSLog(@"Dismiss Block!");
                     }];
            
/************            
  Singleton
************/
[[TezAlertView sharedInstance] showAlertViewWithTitle:@"This is Title!"
                                   dismissButtonTitle:@"Ok"
                                         dismissBlock:^{
                                             NSLog(@"Dismiss Block!");
                                         }];
                                         
[[TezAlertView sharedInstance] showAlertViewWithMessage:@"I am a message"
                                     dismissButtonTitle:@"Ok"
                                           dismissBlock:^{
                                             NSLog(@"Dismiss Block!");
                                         }];

[[TezAlertView sharedInstance] showAlertViewWithTitle:nil
                                              message:@"I am a message"
                                   dismissButtonTitle:@"Ok"
                                         dismissBlock:^{
                                             NSLog(@"Dismiss Block!");
                                         }];

[[TezAlertView sharedInstance] showAlertViewWithTitle:@"This is Title!"
                                              message:@"I am a message"
                                   dismissButtonTitle:@"Ok"
                                    cancelButtonTitle:@"Close"
                                         dismissBlock:^{
                                             NSLog(@"Dismiss Block!");
                                         } cancelBlock:^{
                                             NSLog(@"Cancel Block!");
                                         }];

[[TezAlertView sharedInstance] showAlertViewWithTitle:@"This is Title!"
                                   dismissButtonTitle:@"Ok"
                                    cancelButtonTitle:@"Close"
                                         dismissBlock:^{
                                             NSLog(@"Dismiss Block!");
                                         } cancelBlock:^{
                                             NSLog(@"Cancel Block!");
                                         }];

[[TezAlertView sharedInstance] showAlertViewWithMessage:@"I am a message"
                                   dismissButtonTitle:@"Ok"
                                    cancelButtonTitle:@"Close"
                                         dismissBlock:^{
                                             NSLog(@"Dismiss Block!");
                                         } cancelBlock:^{
                                             NSLog(@"Cancel Block!");
                                         }];

License

The MIT License (MIT)

Copyright (c) 2015 Taesun Park

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].