All Projects → GitHawkApp → Squawk

GitHawkApp / Squawk

Licence: mit
Quick & interactive iOS alerts in Swift.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Squawk

JDToaster
🍞 Toasty iOS alerts
Stars: ✭ 25 (-90.16%)
Mutual labels:  alert, uikit, toast
iakit
无依赖 mini 组件库,只封装了 alert, toast, loading, actionSheet 等使用频率较高的组件。适用于类似 H5 活动页的简单移动端项目,不必为了使用这些组件而引入一个大而全的 UI 库和框架。
Stars: ✭ 38 (-85.04%)
Mutual labels:  alert, uikit, toast
Notie
🔔 a clean and simple notification, input, and selection suite for javascript, with no dependencies
Stars: ✭ 6,170 (+2329.13%)
Mutual labels:  alert, toast
Statusalert
Display Apple system-like self-hiding status alerts. It is well suited for notifying user without interrupting user flow in iOS-like way.
Stars: ✭ 809 (+218.5%)
Mutual labels:  uikit, alert
Alertift
Swifty, modern UIAlertController wrapper.
Stars: ✭ 242 (-4.72%)
Mutual labels:  uikit, alert
Easyshowview
一款非常简单的展示工具。提示框,加载框,空白页提示,alert弹出框。一行代码搞定所有操作。
Stars: ✭ 447 (+75.98%)
Mutual labels:  alert, toast
Cfnotify
A customizable framework to create draggable views
Stars: ✭ 490 (+92.91%)
Mutual labels:  uikit, alert
V Dialogs
A simple and clean instructional dialog plugin for Vue2, dialog type including Modal, Alert, Mask and Toast
Stars: ✭ 121 (-52.36%)
Mutual labels:  alert, toast
Alerttoast
Create Apple-like alerts & toasts using SwiftUI
Stars: ✭ 151 (-40.55%)
Mutual labels:  alert, toast
Notiflix
Notiflix is a JavaScript library for client-side non-blocking notifications, popup boxes, loading indicators, and more that makes your web projects much better.
Stars: ✭ 172 (-32.28%)
Mutual labels:  alert, toast
Tfpopup
🚀🚀🚀TFPopup不生产弹框,它只是弹框的弹出工🚀🚀🚀默认支持多种动画方式一行调用,支持完全自定义动画.
Stars: ✭ 182 (-28.35%)
Mutual labels:  alert, toast
Pudding
🌟 Pudding use WindowManager(don't need request permission) to pull down a view that are displayed on top their attached window
Stars: ✭ 371 (+46.06%)
Mutual labels:  alert, toast
Razor.SweetAlert2
A Razor class library for interacting with SweetAlert2
Stars: ✭ 98 (-61.42%)
Mutual labels:  alert, toast
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 (+155.51%)
Mutual labels:  alert, toast
BalloonPopup
Forget Android Toast! BalloonPopup displays a round or squared popup and attaches it to a View, like a callout. Uses the Builder pattern for maximum ease. The popup can automatically hide and can persist when the value is updated.
Stars: ✭ 32 (-87.4%)
Mutual labels:  alert, toast
Spalert
Native alert from Apple Music & Feedback. Contains Done, Heart & Message and other presets.
Stars: ✭ 1,014 (+299.21%)
Mutual labels:  uikit, alert
toast-swift
A Swift Toast view - iOS 14 style and newer - built with UIKit. 🍞
Stars: ✭ 85 (-66.54%)
Mutual labels:  uikit, toast
Jh flutter demo
a flutter demo
Stars: ✭ 229 (-9.84%)
Mutual labels:  alert, toast
Vue Toastify
🔥 Simple, extendable, dependency free notification plugin. 🔥
Stars: ✭ 126 (-50.39%)
Mutual labels:  alert, toast
Sweetalert2
A beautiful, responsive, highly customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes. Zero dependencies.
Stars: ✭ 13,929 (+5383.86%)
Mutual labels:  alert, toast

Squawk

Show important alerts from the bottom of the screen with full customization control.

Example

Installation

Just add Squawk to your Podfile and pod install. Done!

pod 'Squawk'

Usage

After installing Squawk, you can start displaying alerts immediately:

import Squawk

func onError() {
  Squawk.shared.show(config: Squawk.Configuration(
    text: "Something went wrong!"
  ))
}

Use the view param if you want to show the alert within a specific view.

func viewDidAppear() {
  super.viewDidAppear()
  Squawk.shared.show(
    in: view,
    config: Squawk.Configuration(
      text: "Peek-a-boo"
    )
  )
}

Configuration

Squawk.Configuration comes with loads of options:

  • text - The text in the alert
  • textColor - The color of the text 🙄
  • backgroundColor - Background color of the view (note: will be blurred)
  • insets - Inset the text and button within the alert view
  • maxWidth - The max width of the alert view
  • hintMargin - Margin between the "hint" (top pill) and text
  • hintSize - The size of the hint pill
  • cornerRadius - Corner radius of the alert view
  • bottomPadding - Extra padding to add to subtract from the final y of the alert view
  • borderColor - Border color of the alert view
  • dismissDuration - How long, in seconds, to wait before automatically dismissing
  • buttonVisible - Set to true to show the "info" button
  • buttonLeftMargin - The margin between the button and text
  • buttonTapHandler - A closure to execute when the "info" button is tapped

Acknowledgements

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