UIFeedback
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Introduction
UIFeedback gives an elegant and easy way to enhance user experience through a feedback. Let your users know when a web request fails or when request succeeds.
Requirements
iOS 8.0+ Xcode 8.1+ Swift 3.0+
Installation
UIFeedback is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "UIFeedback"
Usage
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)
Author
dawnofthedebayan, debayanbhattacharyaece@gmail.com
License
UIFeedback is available under the MIT license. See the LICENSE file for more info.