测试已测试 | ✗ |
语言语言 | SwiftSwift |
许可协议 | MIT |
发布最新发布 | 2017年4月 |
SwiftSwift 版本 | 3.0 |
SPM支持 SPM | ✗ |
由 debayanbhattacharya 维护。
要运行示例项目,首先克隆仓库,然后在 Example 目录中运行 pod install
UIFeedback 通过反馈以优雅简单的方式提升用户体验。让用户知道当他们发起的网络请求失败或成功时。
iOS 8.0+ Xcode 8.1+ Swift 3.0+
UIFeedback 通过 CocoaPods (https://cocoapods.org.cn) 提供。要安装它,只需将以下行添加到您的 Podfile 中即可
pod "UIFeedback"
import UIFeedback
UIFeedback.showFeedback(message: "A Hard Rains Gonna Fall", textColor: UIColor.white, backgroundColor: UIColor.red
UIFeedback.showFeedback(message: "Mr. Tambourine Man", textColor: UIColor.white, backgroundColor: UIColor.red, applyShadow: true)
UIFeedback.showFeedback(message: "The Times They are a-Changin'", textColor: UIColor.white, backgroundColor: UIColor.red, heightOfView: 64, applyShadow: true)
UIFeedback.showFeedback(message: "Times Have Changed", textColor: UIColor.red, backgroundColor: UIColor.green, heightOfView : 100, font : UIFont(name: "HelveticaNeue-Bold",size:30)!, applyShadow : true)
dawnofthedebayan, [email protected]
UIFeedback 在 MIT 许可证下提供。有关更多信息,请参阅 LICENSE 文件。