SHPopup alternatives and similar libraries
Based on the "Popup" category.
Alternatively, view SHPopup alternatives based on common mentions on social networks and blogs.
-
SwiftEntryKit
SwiftEntryKit is a presentation library for iOS. It can be used to easily display overlays within your iOS apps. -
PopupDialog
A simple, customizable popup dialog for iOS written in Swift. Replaces UIAlertController alert style. -
LNPopupController
LNPopupController is a framework for presenting view controllers as popups of other view controllers, much like the Apple Music and Podcasts apps. -
STPopup
STPopup provides STPopupController, which works just like UINavigationController in popup style, for both iPhone and iPad. It's written in Objective-C and compatible with Swift. -
MMPopupView
Pop-up based view(e.g. alert sheet), can be easily customized. -
CNPPopupController
Simple and versatile class for presenting a custom popup in a variety of fashions. It includes a many options for controlling how your popup appears and behaves. -
KLCPopup
A simple and flexible class for presenting custom views as a popup in iOS. -
AZDialogViewController
A highly customizable alert dialog controller that mimics Snapchat's alert dialog. -
MIBlurPopup
MIBlurPopup lets you create popups with a blurred background -
PopupWindow
PopupWindow is a simple Popup using another UIWindow in Swift -
PopupController
PopupController is a controller for showing temporary popup view. -
SubscriptionPrompt
Subscription View Controller like the Tinder uses -
NMPopUpView
Simple Swift class for iOS that shows nice popup windows with animation. -
PBPopupController
A framework for presenting bars and view controllers as popup, much like the look and feel of Apple Music App. -
PopupKit
Simple way to present custom views as a popup in iOS and tvOS.
Appwrite - The open-source backend cloud platform
* 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 SHPopup or a related project?
README
SHPopup
SHPop is lightweight library used for popup view
Sample One
Sample Two
Sample Three
Features
SHPopup supports a popup inside another popup without dismissing
SHPopup is customizable
Installation
Just drag and drop the SHPopup.swift file from SHPopup folder to your project.
Usage
Main viewcontroller must be embed in a navigation controller
Set Popup View
Set a viewcontroller as popup view using setPopup function
let PopupVC = setPopupVC(storyboradID:"Main",viewControllerID:"restorationIdentifier")
you should set Storyboard name and viewcontroller id in setPopup function
Present Popup View
self.presentPopup(controller: popupVC, completion: nil)
Dismiss Popup View
self.dismissPopup(completion: nil)
Customization
- Popup View alignment options
.top
.center
.bottom
.custom - you can specify the x and y point of popup view
swift popupVC?.popupAlign = .top
custom alignment optionswift popupVC?.popupCustomAlign = CGPoint(x: 100, y: 100)
- Popup View animation options
.normal
.top
.bottom
.bottomBounce
.topBounce
swift popupVC?.popupAnimation = .bottom
Poup View touch dismiss
popupVC?.touchDismiss = true
By default it is true
Popup View Size - you can specify the width and height of popup view
popupVC?.popupSize = CGSize(width: 250, height: 250)
Popup View overlay Color - you can specify any color as overlay
popupVC?.overlayColor = UIColor.black
Popup View Corner Radius
popupVC?.popupCorner = 5
For more you can download the sample project.
Requirements
- iOS 9.0+
Example
Download the Sample project.
Contact
Shezad Ahamed
Follow and contact me on:
If you like my content, please consider buying me a coffee. Thank you for your support!
Acknowledge
Inspired by STZPopupView
License
SHPopup is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the SHPopup README section above
are relevant to that project's source code only.