Skip to content
This repository
Browse code

Update Readme.md with dynamic configuration

  • Loading branch information...
commit 7b34e4ca9959281e1374a63688551b65a0024e1f 1 parent da20fe6
Hermes Pique hpique authored

Showing 1 changed file with 20 additions and 7 deletions. Show diff stats Hide diff stats

  1. +20 7 README.md
27 README.md
Source Rendered
@@ -8,12 +8,24 @@ homepage] [homepage].
8 8
9 9 Getting Started
10 10 ---------------
11   -1. Add the Appirater code into your project
12   -2. Add the `CFNetwork` and `SystemConfiguration` frameworks to your project
13   -3. Call `[Appirater appLaunched:YES]` at the end of your app delegate's `application:didFinishLaunchingWithOptions:` method.
14   -4. Call `[Appirater appEnteredForeground:YES]` in your app delegate's `applicationWillEnterForeground:` method.
15   -5. (OPTIONAL) Call `[Appirater userDidSignificantEvent:YES]` when the user does something 'significant' in the app.
16   -6. Finally, call `[Appirater setAppId:@"yourAppId"]` with your Apple provided software id.
  11 +1. Add the Appirater code into your project.
  12 +2. Add the `CFNetwork` and `SystemConfiguration` frameworks to your project.
  13 +3. 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.
  14 +4. Call `[Appirater appLaunched:YES]` at the end of your app delegate's `application:didFinishLaunchingWithOptions:` method.
  15 +5. Call `[Appirater appEnteredForeground:YES]` in your app delegate's `applicationWillEnterForeground:` method.
  16 +6. (OPTIONAL) Call `[Appirater userDidSignificantEvent:YES]` when the user does something 'significant' in the app.
  17 +
  18 +Configuration
  19 +-------------
  20 +
  21 +Appirater provides class methods to configure its behavior. See [`Appirater.h`] [Appirater.h] for more information.
  22 +
  23 + [Appirater setAppId:@"552035781"];
  24 + [Appirater setDaysUntilPrompt:1];
  25 + [Appirater setUsesUntilPrompt:10];
  26 + [Appirater setSignificantEventsUntilPrompt:-1];
  27 + [Appirater setTimeBeforeReminding:2];
  28 + [Appirater setDebug:YES];
17 29
18 30 License
19 31 -------
@@ -30,4 +42,5 @@ MonoTouch Port
30 42 [homepage]: http://arashpayan.com/blog/index.php/2009/09/07/presenting-appirater/
31 43 [arash]: http://arashpayan.com
32 44 [ivan]: https://www.facebook.com/nikitinivan
33   -[monotouchport]: https://github.com/chebum/Appirater-for-MonoTouch
  45 +[monotouchport]: https://github.com/chebum/Appirater-for-MonoTouch
  46 +[Appirater.h]: https://github.com/arashpayan/appirater/blob/master/Appirater.h

0 comments on commit 7b34e4c

Please sign in to comment.
Something went wrong with that request. Please try again.