Alertift:Swift UIAlertController 现代化封装

Alertift 使用 Swift 语言,对 UIAlertController 进行了现代化封装,简化了创建和自定义警告弹窗的过程。

特点

  • 方法链,简化代码结构。
  • 支持一次添加多个操作。
  • 支持 UITextField 和图像的显示。
  • 兼容 iPad,支持操作表和弹出框。
  • 无需使用私有 API,即可更改标题、消息、按钮文本和背景颜色。
  • 无需使用私有 API,即可更改标题和消息的对齐方式。

使用要求

  • iOS 9.0 或更高版本
  • Xcode 11 或更高版本
zip
Alertift-master.zip 预估大小:43个文件
folder
Alertift-master 文件夹
file
.gitignore 1KB
folder
Sources 文件夹
file
Debug.swift 623B
file
ActionSheet.swift 5KB
file
AlertType.swift 6KB
file
Alert.swift 7KB
file
ActionHandlerBuilder.swift 626B
file
InnerAlertController.swift 8KB
file
Alertift.swift 2KB
file
Action.swift 2KB
file
Alertift.podspec 579B
file
LICENSE 1KB
file
.swift-version 3B
folder
Alertift.xcworkspace 文件夹
folder
xcshareddata 文件夹
file
IDEWorkspaceChecks.plist 238B
file
contents.xcworkspacedata 230B
folder
Demo 文件夹
folder
Demo.xcodeproj 文件夹
file
project.pbxproj 13KB
folder
Demo 文件夹
file
ViewController.swift 5KB
file
Info.plist 1KB
folder
Base.lproj 文件夹
file
LaunchScreen.storyboard 2KB
file
Main.storyboard 6KB
file
AppDelegate.swift 264B
folder
Assets.xcassets 文件夹
folder
AppIcon.appiconset 文件夹
file
Contents.json 848B
folder
icon.imageset 文件夹
file
Contents.json 301B
file
icon.png 4KB
file
Contents.json 62B
folder
alertImage.imageset 文件夹
file
img2.png 1.35MB
file
Contents.json 301B
folder
Alertift.xcodeproj 文件夹
folder
xcshareddata 文件夹
folder
xcschemes 文件夹
file
Alertift.xcscheme 3KB
folder
project.xcworkspace 文件夹
file
contents.xcworkspacedata 153B
file
project.pbxproj 14KB
folder
.github 文件夹
file
FUNDING.yml 17B
file
README.md 2KB
folder
Alertift 文件夹
file
Alertift.h 499B
file
Info.plist 753B
folder
Documents 文件夹
file
img5.png 33KB
file
how_to_use.md 4KB
file
img8.png 23KB
file
img2.png 10KB
file
img1.png 14KB
file
img6.png 15KB
file
img7.png 186KB
file
logo.png 25KB
file
img4.png 23KB
file
img3.png 17KB
zip 文件大小:1.72MB