Alertify 4.0.8

Alertify 4.0.8

Maintained by karthik.



Alertify 4.0.8

Alertify

Version License Platform

Feature

  • Method chain.
  • Can add multiple actions at once.
  • UITextField support.
  • Image support
  • iPad support(Action Sheet, popover).
  • Can change title/message/button text/ background color without using private APIs.
  • Can change title/message's alignment without using private APIs.

Requirements

  • iOS 10.0+
  • Xcode 11+
  • Swift 4.2+

Installation

Alertify is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'Alertify'

Swift Package Manager

NotificationBubbles is available through Swift Package Manager. To install it, simply add the following dependency to your Package.swift

.package(url: "https://github.com/karthikAdaptavant/Alertify.git", from: "4.0.7")

Usage

  Alertify.actionSheet(message: nil, anchorView: sender)
	.action(.default("Hello"), image: #imageLiteral(resourceName: "chat"))
	.action(.default("Info"), image: #imageLiteral(resourceName: "info"))
	.action(.cancel("None"))
	.finally { action, index in  }
	.show(on: self)

Author

karthikAdaptavant, [email protected]

License

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