From d8d3d0406293886f09e883558e9f2bbc419f1176 Mon Sep 17 00:00:00 2001 From: Adam Campbell Date: Tue, 21 Jul 2020 15:35:29 +1000 Subject: [PATCH] Remove the inability to access the objective-c wrapper from swift This is required when exposing the code via a swift interface and xcframework --- Sources/Afterpay/ObjcWrapper.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Sources/Afterpay/ObjcWrapper.swift b/Sources/Afterpay/ObjcWrapper.swift index 1122bf43..4afe3f20 100644 --- a/Sources/Afterpay/ObjcWrapper.swift +++ b/Sources/Afterpay/ObjcWrapper.swift @@ -10,8 +10,7 @@ import Foundation import UIKit @objc(APAfterpay) -@available(swift, obsoleted: 1.0, message: "This wrapper should only be used from Objective-C") -public final class AfterpayWrapper: NSObject { +public final class ObjcWrapper: NSObject { @available(*, unavailable) public override init() {}