Skip to content

Commit

Permalink
Providing protocol modifications, recompilation of outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Illia Khrypunov committed Nov 6, 2023
1 parent d402ec7 commit c231cf3
Show file tree
Hide file tree
Showing 16 changed files with 1,451 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ public protocol PrimerKlarnaProviding: AnyObject {
// MARK: - Properties
var paymentView: KlarnaPaymentView? { get }

// MARK: - Delegates
var paymentViewDelegate: PrimerKlarnaProviderPaymentViewDelegate? { get set }
var authorizationDelegate: PrimerKlarnaProviderAuthorizationDelegate? { get set }
var finalizationDelegate: PrimerKlarnaProviderFinalizationDelegate? { get set }
var errorDelegate: PrimerKlarnaProviderErrorDelegate? { get set }

// MARK: - Funcs
func createPaymentView()
func initializePaymentView()
Expand Down
10 changes: 5 additions & 5 deletions PrimerKlarnaSDK.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -8,32 +8,32 @@
<key>BinaryPath</key>
<string>PrimerKlarnaSDK.framework/PrimerKlarnaSDK</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>PrimerKlarnaSDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>PrimerKlarnaSDK.framework/PrimerKlarnaSDK</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>PrimerKlarnaSDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ public enum PrimerKlarnaError : PrimerKlarnaSDK.PrimerKlarnaErrorProtocol {
}
public protocol PrimerKlarnaProviding : AnyObject {
var paymentView: KlarnaMobileSDK.KlarnaPaymentView? { get }
var paymentViewDelegate: (any PrimerKlarnaSDK.PrimerKlarnaProviderPaymentViewDelegate)? { get set }
var authorizationDelegate: (any PrimerKlarnaSDK.PrimerKlarnaProviderAuthorizationDelegate)? { get set }
var finalizationDelegate: (any PrimerKlarnaSDK.PrimerKlarnaProviderFinalizationDelegate)? { get set }
var errorDelegate: (any PrimerKlarnaSDK.PrimerKlarnaProviderErrorDelegate)? { get set }
func createPaymentView()
func initializePaymentView()
func loadPaymentReview()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ public enum PrimerKlarnaError : PrimerKlarnaSDK.PrimerKlarnaErrorProtocol {
}
public protocol PrimerKlarnaProviding : AnyObject {
var paymentView: KlarnaMobileSDK.KlarnaPaymentView? { get }
var paymentViewDelegate: (any PrimerKlarnaSDK.PrimerKlarnaProviderPaymentViewDelegate)? { get set }
var authorizationDelegate: (any PrimerKlarnaSDK.PrimerKlarnaProviderAuthorizationDelegate)? { get set }
var finalizationDelegate: (any PrimerKlarnaSDK.PrimerKlarnaProviderFinalizationDelegate)? { get set }
var errorDelegate: (any PrimerKlarnaSDK.PrimerKlarnaProviderErrorDelegate)? { get set }
func createPaymentView()
func initializePaymentView()
func loadPaymentReview()
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,23 @@
</data>
<key>Modules/PrimerKlarnaSDK.swiftmodule/arm64-apple-ios.abi.json</key>
<data>
YIAWHHrKpYn2N7fHTwAFIAvjePU=
WIPNBjwKX9DJKeSdX8KmxLHe60s=
</data>
<key>Modules/PrimerKlarnaSDK.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
<data>
tcP/gh5gz2UXOoE8TCwlpuRS2Ek=
GEiu9S9PyaZW/Zx61RWJP1XKgJo=
</data>
<key>Modules/PrimerKlarnaSDK.swiftmodule/arm64-apple-ios.swiftdoc</key>
<data>
/s4ccK/MLCF79l8ldYQG8GSg5DY=
</data>
<key>Modules/PrimerKlarnaSDK.swiftmodule/arm64-apple-ios.swiftinterface</key>
<data>
tcP/gh5gz2UXOoE8TCwlpuRS2Ek=
GEiu9S9PyaZW/Zx61RWJP1XKgJo=
</data>
<key>Modules/PrimerKlarnaSDK.swiftmodule/arm64-apple-ios.swiftmodule</key>
<data>
cQP3WRh86X1hipgCnE6+6OOJ2/Y=
QpSsGhaIcSjv2GMxXaXz01HLysA=
</data>
<key>Modules/module.modulemap</key>
<data>
Expand All @@ -61,14 +61,14 @@
<dict>
<key>hash2</key>
<data>
GfrTkeBKnEtBid305PJlAsRTeEK1ZMdGmdDtkOW08Ac=
+tY8+Du8ZxCvxeFv/B7HOG/I3JJkpQimGooAHOT8qlk=
</data>
</dict>
<key>Modules/PrimerKlarnaSDK.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
<dict>
<key>hash2</key>
<data>
it95dtcoYjvgitTVVAfpqj0xzbJZHuTGAAeEGtxFdqk=
3ttgq/zj7kuToQYduMIglYiUNIn/XkJDJEldjqP887g=
</data>
</dict>
<key>Modules/PrimerKlarnaSDK.swiftmodule/arm64-apple-ios.swiftdoc</key>
Expand All @@ -82,14 +82,14 @@
<dict>
<key>hash2</key>
<data>
it95dtcoYjvgitTVVAfpqj0xzbJZHuTGAAeEGtxFdqk=
3ttgq/zj7kuToQYduMIglYiUNIn/XkJDJEldjqP887g=
</data>
</dict>
<key>Modules/PrimerKlarnaSDK.swiftmodule/arm64-apple-ios.swiftmodule</key>
<dict>
<key>hash2</key>
<data>
b0+sb4pVULP6su63uddJKmIyfA06hD/x6IX7y4zVQUM=
KmWZ/28zNjFQaujC9nFhCmhCYLUblRvJX4sbLq9UVFI=
</data>
</dict>
<key>Modules/module.modulemap</key>
Expand Down
Loading

0 comments on commit c231cf3

Please sign in to comment.