All Projects → Mindinventory → TrendingCustomAlert

Mindinventory / TrendingCustomAlert

Licence: MIT license
You can use a ready-made custom alert controller.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to TrendingCustomAlert

Leealert
优雅的可自定义 Alert ActionSheet
Stars: ✭ 1,097 (+4288%)
Mutual labels:  alert, custom, iphone
JHTAlertController
A custom iOS alert that replaces the stock UIAlertController. Easily style the alert to match your app. Written in Swift for iOS.
Stars: ✭ 58 (+132%)
Mutual labels:  alert, custom
Wmzdialog
功能最多样式最多的弹窗,支持普通/微信底部/日期/地区/日历/选择/编辑/分享/菜单/自定义弹窗等,支持多种动画,链式编程调用(Pop-up windows with the most functions and styles, support normal/WeChat bottom/date/region/calendar/select/edit/share/menu/custom pop-up windows, etc., support multiple animations, chain programming calls)
Stars: ✭ 673 (+2592%)
Mutual labels:  alert, custom
react-native-popable
Popovers, tooltips for React Native
Stars: ✭ 298 (+1092%)
Mutual labels:  alert
Manual-del-guerrero-movil-Phonegap
Ejemplos de código PhoneGap
Stars: ✭ 14 (-44%)
Mutual labels:  iphone
iphone-shortcut-library
Apple iphone IOS 捷径 app 库(Apple Iphone IOS shortcut Library)
Stars: ✭ 42 (+68%)
Mutual labels:  iphone
AFWebViewController
In-app browser that uses WKWebView
Stars: ✭ 38 (+52%)
Mutual labels:  webview
Webview-unity-3d-2017.3-or-higher-
Webview unity 3d 2017.3 or higher - can be open website url on unity3d or open Html5, html and js on unity offline
Stars: ✭ 18 (-28%)
Mutual labels:  webview
EasyBrowser
尝试实现一个简易的Android浏览器。支持标签页的创建,切换,缓存。
Stars: ✭ 34 (+36%)
Mutual labels:  webview
SPLarkController
Custom transition between controllers. Settings controller for your iOS app.
Stars: ✭ 967 (+3768%)
Mutual labels:  custom
WebView-Advanced
A collection of android webview hack
Stars: ✭ 25 (+0%)
Mutual labels:  webview
MultiModal
Use multiple .sheet, .alert, etc. modifiers in the same SwiftUI View
Stars: ✭ 49 (+96%)
Mutual labels:  alert
Swift-ISO8601-DurationParser
Swift ISO8601 Parser
Stars: ✭ 24 (-4%)
Mutual labels:  iphone
alert
Cross-platform, isomorphic alert, for Node and browser (previously alert-node)
Stars: ✭ 27 (+8%)
Mutual labels:  alert
Apple-Store-Reserve-Monitor
Monitor status of the iPhone, iPad, and Apple Watch stock availability worldwide.
Stars: ✭ 71 (+184%)
Mutual labels:  iphone
Torrent-Alert
Torrent Keyword Search, Schedule & Alert #BuildWithMeteorJS
Stars: ✭ 21 (-16%)
Mutual labels:  alert
DEMOS TO MySelf Android
自己平时的一些积累,相当于自己的一个demo库,比较杂,后续会一个一个整理出来
Stars: ✭ 36 (+44%)
Mutual labels:  custom
ZudVPN
A mobile application to deploy private VPN servers in the cloud with DNS ad-blocking and other features
Stars: ✭ 119 (+376%)
Mutual labels:  iphone
YMTGetDeviceName
Get device name from model number
Stars: ✭ 27 (+8%)
Mutual labels:  iphone
liemoth
Development Kit For Ambarella Devices
Stars: ✭ 20 (-20%)
Mutual labels:  custom

Trending Custom Alert: You can use a custom trending alert for more better app UI. Very easy to use. ✓

Description

This is a custom alert with different customization options which enhance the alert view with animation. User can add custom image at top, apply corner radius on alert view and buttons. User can able to apply custom colour and title for buttons.

There is custom three button action sheet with Banner image and title name with icon. User can able to customise by their own requirements.

There are custom image as well as webView popup. In which user can able to open any image and web url.

Sample

video

Table of content

UI Controls

  • Label
  • Button
  • ImageView
  • WebView

Features

Alert

  • Add custom image at top with hide/show option.
  • Custom corner radius for alert view and buttons.
  • Custom colour and title for buttons.

ActionSheet

  • Custom Banner image on action sheet.
  • Custom title with icon.
  • Hide/show Cancel button as well as Banner.

PopupView

  • Custom Title with Image and WebView popup.

Usage

  • Download and run source in your Xcode.

  • On action event implement showCustomAlert() which give you bunch of different customization option related to alert, whatever you want to customize just pass data in the method. You can also check different customization in the source.

showCustomAlert(title: "LogOut",
                message: "Are you sure you want to LogOut? ",
                alertType: .twoButton(title1: "No", title2: "Yes"),
                icon: "user",
                alertRadius: 70,
                btnRadius: 25,
                customCorners: [.layerMinXMinYCorner, .layerMaxXMaxYCorner])
  • Here we have different options for Alert:

    • title: Custom title.
    • message: Custom message.
    • alertType: We can choose oneButton or towButton alert, also we can apply custom button title and colour.
    • icon: We can add icon on top of the alert.
    • alertRadius: It will apply radius on main alertview.
    • btnRadius: It will apply radius on buttons.
    • customCorners: We can customize any corner of alertview. It will apply on alertview as well as on buttons.
  • On action event implement showThreeActionButtonPicker() which provides you customization option related to actionsheet, in which you can add custom banner on the top of action sheet, whatever you want to customize just pass data in the method. You can also check different customization in the source.

showThreeActionButtonPicker(title1: "Help", btnIcon1: "ic_help_circle",
                            title2: "Info", btnIcon2: "ic_info", btnStyle2: .default,
                            title3: "Logout", btnIcon3: "ic_logout", btnStyle3: .destructive,
                            banner: "gender", isShowBanner: true,
                            isShowCancle: true, controller: self)
  • Here we have different options for Actionsheet:

    • title: Custom title.
    • btnIcon: Custom icone for button.
    • btnStyle: We can give .default, .destructive style for button.
    • banner: We can add custom banner on actionsheet.
    • isShowBanner: Hide/Show banner.
    • isShowCancle: Hide/Show Cancle button.
    • controller: Need to pass self controller.
  • For Custom popup, pass data title, image or web url to ImageAlertVC. As you can see in source.

  • Web popup view: We can pass name and webUrl in the url, it will load in a popup view.

if let popupViewController = UIStoryboard(name: "Main", bundle: nil).instantiateViewController(withIdentifier: "ImageAlertVC") as? ImageAlertVC {
            
    popupViewController.name = "Terms & Conditions"
    popupViewController.url = URL(string: "https://www.apple.com")
    self.present(popupViewController, animated: true)
}
  • Image popup view: We can pass name and image in the imageName, it will load in a popup view.
if let popupViewController = UIStoryboard(name: "Main", bundle: nil).instantiateViewController(withIdentifier: "ImageAlertVC") as? ImageAlertVC {
            
    popupViewController.name = "Burj Al Arab"
    popupViewController.imageName = "burj _al_arab"
    self.present(popupViewController, animated: true)
}

By Apple

  • Xcode 12
  • iOS 11+

LICENSE!

GenerateTrendingCustomAlert is MIT-licensed.

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