Git Product home page Git Product logo

ratethisapp's Introduction

Introduction

"RateThisApp" is some code you can drop into an iOS project to remind the user that it would be appreciated if they rated your app on the App Store. This is not the only implementation of this sort of functionality, Arash Payan also has something similar:

http://github.com/arashpayan/appirater http://arashpayan.com/blog/2009/09/07/presenting-appirater/

Some characteristics of my implementation:

  • easily modify to implement your own logic
  • only attempts to solicit feedback once, does not ask again when the user upgrades to a more recent version of the app
  • does not check for network connectivity before showing popup
  • very lightweight ... removes itself from memory while the application is running

Usage

Simply copy "RateThisAppDialog.h" and "RateThisAppDialog.m" into your project, include the header file and paste this code into your "application:didFinishLaunchingWithOptions:" method:

[RateThisAppDialog threeButtonLayoutWithTitle:@"title"
                                      message:@"message"
                            rateNowButtonText:@"now"
                          rateLaterButtonText:@"later"
                          rateNeverButtonText:@"never"];

You can of course specify your own text for that example.

There is a two button layout too.

Examples

My inspiration to do this project came from seeing the same dialog in iOS applications over the course of a few months. As a point of reference, here are a few examples from existing applications which can serve as inspiration for your implementation.

Example Collage

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.