Alertift
  • November 2, 2023

Alertift.alert(title: “Alertift”, message: “Alertift is swifty, modern, and awesome UIAlertController wrapper.”)
.action(.default(“❤️”))
.action(.default(“⭐”))
.show(on: self)

Feature


  • Method chain.
  • Can add multiple actions at once.
  • UITextField support.
  • Image support. (above v3.1)
  • 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.

How to use


👉👉👉 How to use

Requirements


  • iOS 9.0+
  • Xcode 10+
  • Swift 5.0+

Installation


Carthage

  • Add the following to your Cartfile:

github “sgr-ksmt/Alertift” ~> 4.2

  • Run carthage update
  • Add the framework as described.
    Details: Carthage Readme

CocoaPods

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

pod ‘Alertift’, ‘~> 4.2’

and run pod install

Swift PM


use version 4.2.0 or higher.

Manually Install

Download all *.swift files and put your project.

GitHub


View Github

#actionsheet #alert #carthage #cocoapods #library #modern #swift #uikit #wrapper
YOU MIGHT ALSO LIKE...
CameraBackground

Features Both front and back camera supported. Flash modes: auto, on, off. Countdown timer. Tap to focus. Pinch to zoom. Usage  

DKCamera

Description A light weight & simple & easy camera for iOS by Swift. It uses CoreMotion framework to detect device orientation, so ...

HorizonSDK-iOS

Horizon SDK is a state of the art real-time video recording / photo shooting iOS library. Some of the features ...

LLSimpleCamera

LLSimpleCamera: A simple customizable camera - video recorder control LLSimpleCamera is a library for creating a customized camera - video ...

RSBarcodes_Swift

RSBarcodes allows you to read 1D and 2D barcodes using the metadata scanning capabilities introduced with iOS 7 and generate ...