From c4bb6ab3570b0ce4b81ef2ae46b35f3ac1cab851 Mon Sep 17 00:00:00 2001 From: Mel Ludowise Date: Thu, 19 Dec 2024 19:09:14 -0800 Subject: [PATCH] fix optional delegate methods? --- .../Source/Components/AccountOnboardingViewController.swift | 1 + .../StripeConnect/Source/Components/PayoutsViewController.swift | 1 + 2 files changed, 2 insertions(+) diff --git a/StripeConnect/StripeConnect/Source/Components/AccountOnboardingViewController.swift b/StripeConnect/StripeConnect/Source/Components/AccountOnboardingViewController.swift index 0359b79407e..a490c6f11b5 100644 --- a/StripeConnect/StripeConnect/Source/Components/AccountOnboardingViewController.swift +++ b/StripeConnect/StripeConnect/Source/Components/AccountOnboardingViewController.swift @@ -96,6 +96,7 @@ public protocol AccountOnboardingViewControllerDelegate: AnyObject { } @available(iOS 15, *) +@_documentation(visibility: public) public extension AccountOnboardingViewControllerDelegate { // Add default implementation of delegate methods to make them optional diff --git a/StripeConnect/StripeConnect/Source/Components/PayoutsViewController.swift b/StripeConnect/StripeConnect/Source/Components/PayoutsViewController.swift index 36c7e3aa996..1afd933d666 100644 --- a/StripeConnect/StripeConnect/Source/Components/PayoutsViewController.swift +++ b/StripeConnect/StripeConnect/Source/Components/PayoutsViewController.swift @@ -63,6 +63,7 @@ public protocol PayoutsViewControllerDelegate: AnyObject { } @available(iOS 15, *) +@_documentation(visibility: public) public extension PayoutsViewControllerDelegate { // Default implementation to make optional @_documentation(visibility: public)