Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dawnofthedebayan/uifeedback
https://github.com/dawnofthedebayan/uifeedback
cocoapods ios ios-swift pod swift swift-3 xcode xcode8
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dawnofthedebayan/uifeedback
- Owner: dawnofthedebayan
- License: mit
- Created: 2017-04-01T09:18:36.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-04-06T07:58:15.000Z (over 7 years ago)
- Last Synced: 2024-09-29T22:21:20.954Z (about 1 month ago)
- Topics: cocoapods, ios, ios-swift, pod, swift, swift-3, xcode, xcode8
- Language: Shell
- Size: 245 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# UIFeedback
[![CI Status](http://img.shields.io/travis/dawnofthedebayan/UIFeedback.svg?style=flat)](https://travis-ci.org/dawnofthedebayan/UIFeedback)
[![Version](https://img.shields.io/cocoapods/v/UIFeedback.svg?style=flat)](http://cocoapods.org/pods/UIFeedback)
[![License](https://img.shields.io/cocoapods/l/UIFeedback.svg?style=flat)](http://cocoapods.org/pods/UIFeedback)
[![Platform](https://img.shields.io/cocoapods/p/UIFeedback.svg?style=flat)](http://cocoapods.org/pods/UIFeedback)![Alt Text](https://github.com/dawnofthedebayan/UIFeedback/blob/master/ezgif.com-video-to-gif.gif)
## 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](http://cocoapods.org). To install
it, simply add the following line to your Podfile:```ruby
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, [email protected]
## License
UIFeedback is available under the MIT license. See the LICENSE file for more info.