Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 1 month ago
JSON representation

[DEPRECATED] A groovy app rate stars screen for iOS written in Swift:large_orange_diamond:

Awesome Lists containing this project

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

[![CI Status](http://img.shields.io/travis/Mati Bot/MBRateApp.svg?style=flat)](https://travis-ci.org/Mati Bot/MBRateApp)
[![Version](https://img.shields.io/cocoapods/v/MBRateApp.svg?style=flat)](http://cocoapods.org/pods/MBRateApp)
[![License](https://img.shields.io/cocoapods/l/MBRateApp.svg?style=flat)](http://cocoapods.org/pods/MBRateApp)
[![Platform](https://img.shields.io/cocoapods/p/MBRateApp.svg?style=flat)](http://cocoapods.org/pods/MBRateApp)

![](https://raw.githubusercontent.com/MatiBot/MBRateApp/master/Screenshots/MBChatApp.gif)
## Usage

To 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.