Skip to content

Commit

Permalink
Remove the inability to access the objective-c wrapper from swift
Browse files Browse the repository at this point in the history
This is required when exposing the code via a swift interface and
xcframework
  • Loading branch information
adamjcampbell committed Jul 21, 2020
1 parent 5723419 commit d8d3d04
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Sources/Afterpay/ObjcWrapper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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() {}
Expand Down

0 comments on commit d8d3d04

Please sign in to comment.