From edbdd480c47e26f386a3de0ab61f09a31550cde5 Mon Sep 17 00:00:00 2001 From: Alexey Goncharov Date: Tue, 20 Jun 2023 11:45:30 +0200 Subject: [PATCH] update documentation --- Sources/Adapty+Concurrency.swift | 2 +- Sources/Adapty.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Adapty+Concurrency.swift b/Sources/Adapty+Concurrency.swift index 00082878..d9a6fa32 100644 --- a/Sources/Adapty+Concurrency.swift +++ b/Sources/Adapty+Concurrency.swift @@ -151,7 +151,7 @@ import Foundation /// /// - Parameters: /// - paywall: the `AdaptyPaywall` for which you want to get a products - /// - Returns: A result containing the `AdaptyPaywallProduct` objects array. You can present them in your UI + /// - Returns: A result containing the `AdaptyPaywallProduct` objects array. The order will be the same as in the paywalls object. You can present them in your UI /// - Throws: An `AdaptyError` object public static func getPaywallProducts(paywall: AdaptyPaywall) async throws -> [AdaptyPaywallProduct]? { return try await withCheckedThrowingContinuation { continuation in diff --git a/Sources/Adapty.swift b/Sources/Adapty.swift index 98ad7a75..06571501 100644 --- a/Sources/Adapty.swift +++ b/Sources/Adapty.swift @@ -202,7 +202,7 @@ extension Adapty { /// /// - Parameters: /// - paywall: the ``AdaptyPaywall`` for which you want to get a products - /// - completion: A result containing the ``AdaptyPaywallProduct`` objects array. You can present them in your UI + /// - completion: A result containing the ``AdaptyPaywallProduct`` objects array. The order will be the same as in the paywalls object. You can present them in your UI public static func getPaywallProducts(paywall: AdaptyPaywall, _ completion: @escaping AdaptyResultCompletion<[AdaptyPaywallProduct]>) { async(completion, logName: "get_paywall_products", logParams: ["paywall_id": .value(paywall.id)]) { manager, completion in