NZAlertView alternatives and similar libraries
Based on the "Alerts" category.
Alternatively, view NZAlertView alternatives based on common mentions on social networks and blogs.
-
SwiftMessages
A very flexible message bar for UIKit and SwiftUI. -
SCLAlertView-Swift
Beautiful animated Alert View. Written in Swift -
TSMessages
💌 Easy to use and customizable messages/notifications for iOS à la Tweetbot -
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! -
CRToast
A modern iOS toast view that can fit your notification needs -
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 -
Toast-Swift
A Swift extension that adds toast notifications to the UIView object class. -
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. -
RKDropdownAlert
iOS / Objective C: an extremely simple UIAlertView alternative -
RMDateSelectionViewController
This is an iOS control for selecting a date using UIDatePicker in an UIAlertController like manner -
BRYXBanner
A lightweight dropdown notification for iOS 7+, in Swift. -
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. -
SwiftNotice
GUI library for displaying various popups (HUD), written in pure Swift. -
FCAlertView
FCAlertView is a Flat Customizable AlertView for iOS (Written in Objective C) -
Swift-Prompts
A Swift library to design custom prompts with a great scope of options to choose from. -
SwiftyDrop
Lightweight dropdown message bar in Swift. It's simple and beautiful. -
NYAlertViewController
Highly configurable iOS Alert Views with custom content views -
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. -
SwiftOverlays
SwiftOverlays is a Swift GUI library for displaying various popups and notifications -
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) -
SimpleAlert
Customizable simple Alert and simple ActionSheet for Swift -
RMPickerViewController
This is an iOS control for selecting something using UIPickerView in an UIAlertController like manner -
HDNotificationView
Emulates the native Remote Notification View. -
NoticeBar
😍A simple NoticeBar written by Swift 3, similar with QQ notice view. -
LNRSimpleNotifications
Simple Swift in-app notifications -
CustomizableActionSheet
Action sheet allows including your custom views and buttons. -
LKAlertController
An easy to use UIAlertController builder for swift -
BPStatusBarAlert
BPStatusBarAlert is a library that allows you to easily make text-based alert that appear on the status bar and below navigation bar. -
MaterialActionSheetController
A Google like action sheet for iOS written in Swift. -
RAlertView
AlertView, Ios popup window, A pop-up framework, Can be simple and convenient to join your project. IOS 提示框,IOS弹框,IOS弹窗 -
Notie
In-app notification in Swift, with customizable buttons and input text field. -
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.
WorkOS - The modern identity platform for B2B SaaS
* 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.