All Projects → iamshezad → SHPopup

iamshezad / SHPopup

Licence: MIT license
A lightweight library for popup view

Programming Languages

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

Projects that are alternatives of or similar to SHPopup

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 (+177.78%)
Mutual labels:  alert, popup, message
Spstorkcontroller
Now playing controller from Apple Music, Mail & Podcasts Apple's apps.
Stars: ✭ 2,494 (+6827.78%)
Mutual labels:  alert, popup
Jbox
jBox is a jQuery plugin that makes it easy to create customizable tooltips, modal windows, image galleries and more.
Stars: ✭ 1,251 (+3375%)
Mutual labels:  alert, popup
Jxpopupview
一个轻量级的自定义视图弹出框架
Stars: ✭ 117 (+225%)
Mutual labels:  alert, popup
Nativepopup
Clone of Apple iOS App's feedback popup, and easily customizable.
Stars: ✭ 247 (+586.11%)
Mutual labels:  alert, popup
Jalert
jQuery alert/modal/lightbox plugin
Stars: ✭ 73 (+102.78%)
Mutual labels:  alert, popup
Zhpopupcontroller
Help you pop up custom views easily. and support pop-up animation, layout position, mask effect and gesture interaction etc.
Stars: ✭ 1,481 (+4013.89%)
Mutual labels:  alert, popup
Tfpopup
🚀🚀🚀TFPopup不生产弹框,它只是弹框的弹出工🚀🚀🚀默认支持多种动画方式一行调用,支持完全自定义动画.
Stars: ✭ 182 (+405.56%)
Mutual labels:  alert, popup
Alerttoast
Create Apple-like alerts & toasts using SwiftUI
Stars: ✭ 151 (+319.44%)
Mutual labels:  alert, popup
Jquery Confirm
A multipurpose plugin for alert, confirm & dialog, with extended features.
Stars: ✭ 1,776 (+4833.33%)
Mutual labels:  alert, popup
React Native Alert Pro
The Pro Version of React Native Alert (Android & iOS)
Stars: ✭ 69 (+91.67%)
Mutual labels:  alert, popup
React Popup
React popup component
Stars: ✭ 198 (+450%)
Mutual labels:  alert, popup
Messg
Messages via CSS3 animations
Stars: ✭ 56 (+55.56%)
Mutual labels:  alert, message
Alertjs
Dialog Builder allows you to create fully customisable dialogs and popups in Dynamics 365.
Stars: ✭ 80 (+122.22%)
Mutual labels:  alert, popup
Cdalertview
Highly customizable alertview and alert/notification/success/error/alarm popup written in Swift
Stars: ✭ 1,056 (+2833.33%)
Mutual labels:  alert, popup
Ehplainalert
Plain style IOS alert
Stars: ✭ 44 (+22.22%)
Mutual labels:  alert, message
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 (+1702.78%)
Mutual labels:  alert, message
Spalert
Native alert from Apple Music & Feedback. Contains Done, Heart & Message and other presets.
Stars: ✭ 1,014 (+2716.67%)
Mutual labels:  alert, popup
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 (+255.56%)
Mutual labels:  alert, popup
Sweetalert2
A beautiful, responsive, highly customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes. Zero dependencies.
Stars: ✭ 13,929 (+38591.67%)
Mutual labels:  alert, popup

SHPopup

SHPop is lightweight library used for popup view

Version License Platform

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

  1. Popup View alignment options .top .center .bottom .custom - you can specify the x and y point of popup view
    popupVC?.popupAlign = .top

custom alignment option

    popupVC?.popupCustomAlign = CGPoint(x: 100, y: 100)
  1. Popup View animation options .normal .top .bottom .bottomBounce .topBounce
    popupVC?.popupAnimation = .bottom
  1. Poup View touch dismiss
    popupVC?.touchDismiss = true

By default it is true

  1. Popup View Size - you can specify the width and height of popup view
    popupVC?.popupSize = CGSize(width: 250, height: 250)
  1. Popup View overlay Color - you can specify any color as overlay
    popupVC?.overlayColor = UIColor.black
  1. 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!

Buy Me A Coffee

Acknowledge

Inspired by STZPopupView

License

SHPopup is available under the MIT license. See the LICENSE file for more info.

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].