Made ratingConditionsHaveBeenMet() public.

This commit is contained in:
Bjarte Skjørestad
2015-12-21 11:13:39 +01:00
parent a806177a1b
commit 6ef0ad4811

View File

@@ -472,6 +472,13 @@ public func showPrompt(shouldPrompt: ArmchairShouldPromptClosure) {
Manager.defaultManager.showPrompt(shouldPrompt)
}
/**
Returns true if rating conditions have been met already and rating prompt is likely to be shown.
*/
public func ratingConditionsHaveBeenMet() -> Bool {
return Manager.defaultManager.ratingConditionsHaveBeenMet()
}
// MARK: Misc
/*
* This is the review URL string, generated by substituting the appID, affiliate code