- July 30, 2025
- Mins Read
An UIAlertView replacement written in Swift with a modern chainable API and highly customizable UI, inspired by SIAlertView and SweetAlert-iOS.
pod ‘JLAlertView’
use_frameworks!
JLAlertView is compatible with Carthage. Add this to you Cartfile
:
github “skyline75489/JLAlertView”
Add JLAlertView.swift
in your project.
JLAlertView(title: “Default Style”, message: “Standard Alert”)
.addTextFieldWithConfigurationHandler({ (textField) in
textField.placeholder = “Username”
})
.addTextFieldWithConfigurationHandler({ (textField) in
textField.placeholder = “Password”
})
.addButttonWithTitle(“Cancel”, style: .Cancel, action: nil)
.addButttonWithTitle(“OK”, action:{(title, alert) in
let username = alert.textFields[0].text
let password = alert.textFields[1].text
print(username)
print(password)
})
.show()
PermissionsSwiftUI displays and handles permissions in SwiftUI. It is largely inspired by SPPermissions. The UI is highly customizable and resembles an Apple style. ...
Introduction PagerTabStripView is the first pager view built in pure SwiftUI. It provides a component to create interactive pager views ...
1. Taking Action When a Property Changes: Property Observers Swift lets you observe and respond to changes in a property’s ...