Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 50 lines (40 sloc) 2.43 kB
3d1fc36 *Multitasking aware and can track when the app is brought into the fo…
Arash Payan authored
1 Introduction
2 ------------
9305827 Appirater now requires iOS 4
Arash Payan authored
3 Appirater is a class that you can drop into any iPhone app (iOS 4.0 or later) that will help remind your users
3d1fc36 *Multitasking aware and can track when the app is brought into the fo…
Arash Payan authored
4 to review your app on the App Store. The code is released under the MIT/X11, so feel free to
5 modify and share your changes with the world. To find out more, check out the [project
6 homepage] [homepage].
7
9305827 Appirater now requires iOS 4
Arash Payan authored
8
3d1fc36 *Multitasking aware and can track when the app is brought into the fo…
Arash Payan authored
9 Getting Started
10 ---------------
7b34e4c @hpique Update Readme.md with dynamic configuration
hpique authored
11 1. Add the Appirater code into your project.
d6922db @ngreenstein Added note about ARC to readme.
ngreenstein authored
12 2. If your project doesn't use ARC, add the `-fobjc-arc` compiler flag to `Appirater.m` in your target's Build Phases » Compile Sources section.
13 3. Add the `CFNetwork`, `SystemConfiguration`, and `StoreKit` frameworks to your project. Be sure to **change Required to Optional** for StoreKit in your target's Build Phases » Link Binary with Libraries section.
14 4. Call `[Appirater setAppId:@"yourAppId"]` with the app id provided by Apple. A good place to do this is at the beginning of your app delegate's `application:didFinishLaunchingWithOptions:` method.
15 5. Call `[Appirater appLaunched:YES]` at the end of your app delegate's `application:didFinishLaunchingWithOptions:` method.
16 6. Call `[Appirater appEnteredForeground:YES]` in your app delegate's `applicationWillEnterForeground:` method.
17 7. (OPTIONAL) Call `[Appirater userDidSignificantEvent:YES]` when the user does something 'significant' in the app.
7b34e4c @hpique Update Readme.md with dynamic configuration
hpique authored
18
19 Configuration
20 -------------
21
22 Appirater provides class methods to configure its behavior. See [`Appirater.h`] [Appirater.h] for more information.
23
39a4df1 @mattbischoff Updates the README with Objective-C syntax highlighting.
mattbischoff authored
24 ```objc
25 [Appirater setAppId:@"552035781"];
26 [Appirater setDaysUntilPrompt:1];
27 [Appirater setUsesUntilPrompt:10];
28 [Appirater setSignificantEventsUntilPrompt:-1];
29 [Appirater setTimeBeforeReminding:2];
30 [Appirater setDebug:YES];
31 ```
3d1fc36 *Multitasking aware and can track when the app is brought into the fo…
Arash Payan authored
32
33 License
34 -------
9305827 Appirater now requires iOS 4
Arash Payan authored
35 Copyright 2012. [Arash Payan] [arash].
3d1fc36 *Multitasking aware and can track when the app is brought into the fo…
Arash Payan authored
36 This library is distributed under the terms of the MIT/X11.
37
38 While not required, I greatly encourage and appreciate any improvements that you make
39 to this library be contributed back for the benefit of all who use Appirater.
40
9305827 Appirater now requires iOS 4
Arash Payan authored
41 MonoTouch Port
42 --------------
43 [Ivan Nikitin] [ivan] has ported Appirater to MonoTouch. You can find [it here on github] [monotouchport].
44
3d1fc36 *Multitasking aware and can track when the app is brought into the fo…
Arash Payan authored
45 [homepage]: http://arashpayan.com/blog/index.php/2009/09/07/presenting-appirater/
9305827 Appirater now requires iOS 4
Arash Payan authored
46 [arash]: http://arashpayan.com
47 [ivan]: https://www.facebook.com/nikitinivan
7b34e4c @hpique Update Readme.md with dynamic configuration
hpique authored
48 [monotouchport]: https://github.com/chebum/Appirater-for-MonoTouch
39a4df1 @mattbischoff Updates the README with Objective-C syntax highlighting.
mattbischoff authored
49 [Appirater.h]: https://github.com/arashpayan/appirater/blob/master/Appirater.h
Something went wrong with that request. Please try again.