ChainedAlertController:一种将UIAlertController彼此链接的机制

时间:2024-06-02 08:47:02
【文件属性】:

文件名称:ChainedAlertController:一种将UIAlertController彼此链接的机制

文件大小:17KB

文件格式:ZIP

更新时间:2024-06-02 08:47:02

Swift

ChainedAlertController 一种将UIAlertController彼此链接的机制 一个小的iOS代码片段,用于创建动态链接的UIAlerts。 用法示例: fileprivate lazy var firstAction: ChainedAlertTree = { let cancelAction = ChainedAlertAction ( title : " Cancel " , style : . cancel , shouldTriggerNextAlert : false , handler : nil ) let triggerNextAction = ChainedAlertAction ( title : " Trigger next " , style : . default , shouldTriggerNextAlert : t


【文件预览】:
ChainedAlertController-master
----.gitignore(1KB)
----LICENSE(1KB)
----README.md(2KB)
----ChainedAlertController.xcodeproj()
--------project.xcworkspace()
--------project.pbxproj(16KB)
----ChainedAlertController()
--------ChainedAlert()
--------Application()

网友评论