Alertift:Swift UIAlertController 现代化封装
Alertift 使用 Swift 语言,对 UIAlertController 进行了现代化封装,简化了创建和自定义警告弹窗的过程。
特点
- 方法链,简化代码结构。
- 支持一次添加多个操作。
- 支持 UITextField 和图像的显示。
- 兼容 iPad,支持操作表和弹出框。
- 无需使用私有 API,即可更改标题、消息、按钮文本和背景颜色。
- 无需使用私有 API,即可更改标题和消息的对齐方式。
使用要求
- iOS 9.0 或更高版本
- Xcode 11 或更高版本
Alertift-master.zip
预估大小:43个文件
Alertift-master
文件夹
.gitignore
1KB
Sources
文件夹
Debug.swift
623B
ActionSheet.swift
5KB
AlertType.swift
6KB
Alert.swift
7KB
ActionHandlerBuilder.swift
626B
InnerAlertController.swift
8KB
Alertift.swift
2KB
1.72MB
文件大小:
评论区