SwiftSimpleToast
示例
要运行示例项目,请克隆仓库,然后首先从 Example 目录运行 pod install
。
为 Swift 的超级简单的 toast 消息
import SwiftSimpleToast
SwiftToast.show(message: "test :)", backGoundColor: .blue, textColor: .white, delay: 1.6, isTabbar: false)
或
SwiftToast.show(message: "test :)")
// default backgound == .black
// default textcolor == .white
// default delay == 1.6
需求
swift 5.0
安装
SwiftSimpleToast 通过 CocoaPods 提供。要安装它,只需将以下行添加到您的 Podfile 中
pod 'SwiftSimpleToast'
作者
Haeuncs, [email protected]
许可证
SwiftSimpleToast遵循MIT许可证。有关更多信息,请参阅LICENSE文件。