NZAlertView alternatives and similar libraries
Based on the "Alerts" category.
Alternatively, view NZAlertView alternatives based on common mentions on social networks and blogs.
-
NotificationBanner
The easiest way to display highly customizable in app notification banners in iOS -
JDStatusBarNotification
Highly customizable & feature rich notifications. Interactive dismiss. Custom Views. SwiftUI. Tap-to-hold. Progress. Written in Swift, compatible for ObjC! -
Whisper
:mega: Whisper is a component that will make the task of display messages and in-app notifications simple. It has three different views inside -
PMAlertController
PMAlertController is a great and customizable alert that can substitute UIAlertController -
Jelly
🌊 - Jelly is a library for animated, non-interactive & interactive viewcontroller transitions and presentations with the focus on a simple and yet flexible API. -
RMDateSelectionViewController
This is an iOS control for selecting a date using UIDatePicker in an UIAlertController like manner -
CDAlertView
Highly customizable alertview and alert/notification/success/error/alarm popup written in Swift -
CFAlertViewController
It is a highly configurable iOS library which allows easy styling with built in styles as well as extra header and footer views so that you can make extremely unique alerts and action sheets. -
Swift-Prompts
A Swift library to design custom prompts with a great scope of options to choose from. -
TTGSnackbar
TTGSnackbar shows simple message and action button on the bottom or top of the screen with multi kinds of animation, which is written in Swift3 and inspired by Snackbar in Android. It also support showing custom view, icon image or multi action button. -
RMActionController
This is an iOS control for presenting any UIView in an UIAlertController like manner -
DOAlertController
Simple Alert View written in Swift, which can be used as a UIAlertController. (AlertController/AlertView/ActionSheet) -
RMPickerViewController
This is an iOS control for selecting something using UIPickerView in an UIAlertController like manner -
BPStatusBarAlert
BPStatusBarAlert is a library that allows you to easily make text-based alert that appear on the status bar and below navigation bar. -
RAlertView
AlertView, Ios popup window, A pop-up framework, Can be simple and convenient to join your project. IOS 提示框,IOS弹框,IOS弹窗 -
SnowGlobeFramework
Snow globe framework is delightful / slightly cheese easter egg for christmas season. Turns your awesome app into a snow globe, when user shake the device. -
AlertViewLoveNotification
A simple and attractive AlertView to ask permission to your users for Push Notification.
InfluxDB - Power Real-Time Data Analytics at Scale
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of NZAlertView or a related project?
README
NZAlertView
Simple and intuitive alert view. Similar to push notification effect. This class uses UIAlertView default methods and protocols.
Requirements
NZAlertView works on iOS 6.0+ version and is compatible with ARC projects. It depends on the following Apple frameworks, which should already be included with most Xcode templates:
- Foundation.framework
You will need LLVM 3.0 or later in order to build NZAlertView.
NZAlertView use UIImage-Helpers project for manipulating images.
Adding NZAlertView to your project
Cocoapods
CocoaPods is the recommended way to add NZAlertView to your project.
- Add a pod entry for NZAlertView to your Podfile:
pod 'NZAlertView'
- Install the pod(s) by running:
pod install
Source files
Alternatively you can directly add source files to your project.
- Download the latest code version or add the repository as a git submodule to your git-tracked project.
- Open your project in Xcode, then drag and drop all files at
NZAlertView
folder onto your project (use the "Product Navigator view"). Make sure to select Copy items when asked if you extracted the code archive outside of your project.
Usage
Info
- Works at iPad and iPhone
- Works with or without status bar
- Only works at portrait mode
- The alert duration time can be modified (default: 5 seconds)
- The animation duration time can be modified (default: 0.6 seconds)
- The text alignment can be changed (default: left alignment)
- Only 1 alert is displayed at a time
- Delegates are similar to
UIAlertView
Styles
- NZAlertStyleError
- NZAlertStyleSuccess
- NZAlertStyleInfo
Show
#import "NZAlertView.h"
...
{
// There are several ways to init, just look at the class header
NZAlertView *alert = [[NZAlertView alloc] initWithStyle:NZAlertStyleSuccess
title:@"Alert View"
message:@"This is an alert example."
delegate:nil];
[alert setTextAlignment:NSTextAlignmentCenter];
[alert show];
// or
[alert showWithCompletion:^{
NSLog(@"Alert with completion handler");
}];
}
Delegate
- All delegates are optional
#import "NZAlertViewDelegate.h"
...
- (void)willPresentNZAlertView:(NZAlertView *)alertView;
- (void)didPresentNZAlertView:(NZAlertView *)alertView;
- (void)NZAlertViewWillDismiss:(NZAlertView *)alertView;
- (void)NZAlertViewDidDismiss:(NZAlertView *)alertView;
Setters and getters
@property (nonatomic, assign) id delegate;
@property (nonatomic, assign) NZAlertStyle alertViewStyle;
@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *message;
@property (nonatomic, readonly, getter = isVisible) BOOL visible;
@property (nonatomic, assign) NSString *fontName;
@property (nonatomic) NSTextAlignment textAlignment;
@property (nonatomic, assign) CGFloat alertDuration;
@property (nonatomic, assign) CGFloat animationDuration;
@property (nonatomic, assign) CGFloat screenBlurLevel;
Images and colors
- If you want to change, the images are in the bundle:
NZAlertView-Icons.budle
- To customize the colors, extend the
NZAlertViewColor
class and override the methods:errorColor
,infoColor
andsuccessColor
.
License
This code is distributed under the terms and conditions of the [MIT license](LICENSE).
Change-log
A brief summary of each NZAlertView release can be found on the wiki.
To-do Items
Orientation
- Support for landscape mode
- iPhone 6 and iPhone 6 Plus support
Design
- Add style with buttons
- Create a
NZAlertStyleCustom
style
*Note that all licence references and agreements mentioned in the NZAlertView README section above
are relevant to that project's source code only.