Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MatiBot/MBRateApp
[DEPRECATED] A groovy app rate stars screen for iOS written in Swift:large_orange_diamond:
https://github.com/MatiBot/MBRateApp
Last synced: 3 months ago
JSON representation
[DEPRECATED] A groovy app rate stars screen for iOS written in Swift:large_orange_diamond:
- Host: GitHub
- URL: https://github.com/MatiBot/MBRateApp
- Owner: MatiBot
- License: mit
- Created: 2016-04-17T05:17:55.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-07-06T23:37:08.000Z (8 months ago)
- Last Synced: 2024-11-16T09:47:53.651Z (3 months ago)
- Language: Swift
- Homepage:
- Size: 329 KB
- Stars: 48
- Watchers: 5
- Forks: 11
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ios - MBRateApp - A groovy app rate stars screen for iOS written in Swift (UI / Rating Stars)
- awesome-ios-star - MBRateApp - A groovy app rate stars screen for iOS written in Swift (UI / Rating Stars)
README
# DEPRECATED -
App Store policy does not allow to use these kinds of frameworks anymore and suggest the native app rater
https://developer.apple.com/documentation/storekit/skstorereviewcontroller# MBRateApp
[](https://travis-ci.org/Mati Bot/MBRateApp)
[](http://cocoapods.org/pods/MBRateApp)
[](http://cocoapods.org/pods/MBRateApp)
[](http://cocoapods.org/pods/MBRateApp)
## UsageTo run the example project, clone the repo, and run `pod install` from the Example directory first.
### Customization
```swift
var rateUsInfo = MBRateUsInfo() //get the default settings
//override any attribute
rateUsInfo.title = "Enjoying The League?"
rateUsInfo.titleImage = UIImage(named: "icon")
rateUsInfo.itunesId = "893653132"
//set the value in the shared instance
MBRateUs.sharedInstance.rateUsInfo = rateUsInfo
```### Presentation
```swift
MBRateUs.sharedInstance.showRateUs(self
, positiveBlock: { () -> Void in
//code to run when the user chose more than 3 stars and chose to rate in the app store
}, negativeBlock: { () -> Void in
//code to run when the user chose less than 4 stars and chose to send feedback
}) { () -> Void in
//code to run when the user dismissed that screen without choosing anything
}
```## Requirements
## Installation
MBRateApp is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:```ruby
pod "MBRateApp"
```## Author
Mati Bot, [email protected]
## License
MBRateApp is available under the MIT license. See the LICENSE file for more info.