Skip to content
This repository has been archived by the owner on Nov 22, 2020. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtSabintsev authored Jul 7, 2017
1 parent e91fa28 commit 8fa34ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ Copy the 'Harpy' folder into your Xcode project. It contains the Harpy.h and Har
[[Harpy sharedInstance] setPresentingViewController:_window.rootViewController];

// (Optional) Set the Delegate to track what a user clicked on, or to use a custom UI to present your message.
[[Harpy sharedInstance] setDelegate:self];
[[Harpy sharedInstance] setDelegate:self];

// (Optional) When this is set, the alert will only show up if the current version has already been released for X days.
// By default, this value is set to 1 (day) to avoid an issue where Apple updates the JSON faster than the app binary propogates to the App Store.
[[Harpy sharedInstance] setShowAlertAfterCurrentVersionHasBeenReleasedForDays:3];
[[Harpy sharedInstance] setShowAlertAfterCurrentVersionHasBeenReleasedForDays:3];

// (Optional) The tintColor for the alertController
[[Harpy sharedInstance] setAlertControllerTintColor:@"<#alert_controller_tint_color#>"];
Expand All @@ -94,7 +94,7 @@ Copy the 'Harpy' folder into your Xcode project. It contains the Harpy.h and Har

/* (Optional): Delays the update prompt by a specific number of days. By default,
this value is set to 1 day to avoid an issue where Apple updates the JSON faster than the app binary propogates to the App Store.*/
[[Harpy sharedInstance] setShowAlertAfterCurrentVersionHasBeenReleasedForDays:<#Int#>];
[[Harpy sharedInstance] setShowAlertAfterCurrentVersionHasBeenReleasedForDays:<#Int#>];

// Perform check for new version of your app
[[Harpy sharedInstance] checkVersion];
Expand Down

0 comments on commit 8fa34ea

Please sign in to comment.