Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
iOS SDK v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vectart committed Mar 10, 2016
1 parent 32deead commit 27570e6
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 9 deletions.
10 changes: 7 additions & 3 deletions KlarnaCheckout.podspec
@@ -1,16 +1,20 @@
Pod::Spec.new do |s|
s.name = 'KlarnaCheckout'
s.version = '1.1.0'
s.version = '1.2.0'
s.summary = 'Klarna Checkout iOS SDK'
s.license = 'Apache License, Version 2.0'
s.authors = {"Johan Rydenstam"=>"johan.rydenstam@klarna.com"}
s.authors = {
"Johan Rydenstam"=>"johan.rydenstam@klarna.com",
"Niklas Ström"=>"niklas.strom@klarna.com",
"Marat Dyatko"=>"marat.dyatko@klarna.com"
}
s.homepage = 'https://github.com/klarna/kco-mobile-sdk'
s.description = 'Simple integration of Klarna Checkout into native and hybrid iOS apps'
s.weak_frameworks = 'JavaScriptCore', 'Contacts', 'SafariServices', 'SystemConfiguration'
s.frameworks = ["UIKit", "WebKit", "Security", "CFNetwork", "MobileCoreServices"]
s.libraries = 'z'
s.requires_arc = true
s.source = {"git"=>'https://github.com/klarna/kco-mobile-sdk.git', :tag => 'v1.1.0'}
s.source = {"git"=>'https://github.com/klarna/kco-mobile-sdk.git', :tag => 'v1.2.0'}

s.ios.deployment_target = '7.0'
s.ios.preserve_paths = 'ios/iOSKlarnaCheckoutSDK.framework'
Expand Down
2 changes: 1 addition & 1 deletion ios/README.md
Expand Up @@ -112,4 +112,4 @@ You need to implement these two methds. In the resize event it is up to you how
{
// Update the size of the checkout view controller to match the new size.
}
```
```
Expand Up @@ -30,12 +30,19 @@


/**
* Returns a controller instance. It will handle checkout events and logic require by Klarna Checkout,
* but It will never steal the delegate from the webView.
* Returns a controller instance. It will handle checkout events and logic require by Klarna Checkout.
* This controller will keep a weak reference to the viewcontroller.
* Accepts both WKWebView and UIWebView instances.
*/
- (instancetype)initWithViewController:(UIViewController *)viewController webView:(id)webView;
- (instancetype)initWithViewController:(UIViewController *)viewController;

/**
* Attaches a webview for use in the checkout.
* The checkout will never steal the delegates of the webview.
*
* @param webView A UIWebView or WKWebView instance
*/
- (void)attachWebView:(id)webView;


/**
* This method NEEDS to be called when the provided viewController view is loaded
Expand Down
Expand Up @@ -9,7 +9,7 @@
#ifndef KCOVersion_h
#define KCOVersion_h

#define KCOSDKVersion @"1.1"
#define KCOSDKVersion @"1.2"
#define KCOSDKPlatform @"ios"

#endif /* KCOVersion_h */
Binary file not shown.

0 comments on commit 27570e6

Please sign in to comment.