AppStoreHelper

public final class AppStoreHelper

AppStoreHelper provides support for rating the app.

Author

Adamas

Version

1.5.0

Date

08/05/2019
  • Initialize the helper

    Declaration

    Swift

    public init(id: String,
                reviewCounterFlag: String,
                userDefaults: UserDefaults = .standard)
  • Leave a review in the app store.

    Declaration

    Swift

    public func review()
  • The feature counter is used for

    Declaration

    Swift

    public func increaseReviewCounter()
  • Cheak whether the review counter reaches an amount or not.

    Declaration

    Swift

    public func checkReviewCounter(asCount count: Int) -> Bool

    Parameters

    count

    The amount

    Return Value

    Whether the review counter reaches the ammount or not.

  • Reset the counter

    Declaration

    Swift

    public func resetReviewCounter()