SwiftPopupify 0.1.0

SwiftPopupify 0.1.0

OmegaHead 维护。



  • OmegaHead

SwiftPopupify

CI Status Version License Platform

示例

要运行示例项目,请克隆仓库,然后首先从 Example 目录运行 pod install

Effect

用法

要使用 pod,通过提供您自定义的视图来创建 UIPopupViewController 对象,并用 animated: false 从您的视图控制器中展示它。

let myView = UIView()
let popupViewController = UIPopupViewController(mainView: myView)
present(customPopupViewController, animated: false, completion: nil)

安装

SwiftPopupify 可通过 CocoaPods 获取。要安装它,只需将以下行添加到您的 Podfile

pod 'SwiftPopupify'

作者

OmegaHead, [email protected]

许可证

SwiftPopupify 在 MIT 许可证下可用。有关更多信息,请参阅 LICENSE 文件。