Skip to content

Commit

Permalink
Update Podspec Files and other changes
Browse files Browse the repository at this point in the history
Update Podspec Files and other changes
  • Loading branch information
JaydeepPatoliya committed Oct 21, 2016
1 parent ad8ef41 commit 83d30ed
Show file tree
Hide file tree
Showing 17 changed files with 34 additions and 45 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#import "CreditCardViewController.h"


@interface HomeViewController : UIViewController <PaysafePaymentAuthorizationProcessDelegate, UITextFieldDelegate, AuthorizationProcessDelegate>
@interface HomeViewController : UIViewController <PaySafePaymentAuthorizationProcessDelegate, UITextFieldDelegate, AuthorizationProcessDelegate>
{

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#import <iOS_SDK/PaySafePaymentAuthorizationProcess.h>


@interface CreditCardViewController : UIViewController <UITextFieldDelegate,PaysafePaymentAuthorizationProcessDelegate>
@interface CreditCardViewController : UIViewController <UITextFieldDelegate,PaySafePaymentAuthorizationProcessDelegate>
{

}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="10117" systemVersion="15G31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="9060" systemVersion="15G1004" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
<dependencies>
<deployment version="2048" identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9051"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="OPAYMockPaymentSummaryViewController">
Expand All @@ -21,6 +21,7 @@
<subviews>
<activityIndicatorView hidden="YES" opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" fixedFrame="YES" hidesWhenStopped="YES" style="gray" translatesAutoresizingMaskIntoConstraints="NO" id="HWL-sz-1EN">
<rect key="frame" x="178" y="633" width="20" height="20"/>
<animations/>
</activityIndicatorView>
<visualEffectView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="NkH-cS-cq6">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
Expand All @@ -30,6 +31,7 @@
<subviews>
<tableView clipsSubviews="YES" contentMode="scaleToFill" fixedFrame="YES" alwaysBounceVertical="YES" style="grouped" separatorStyle="none" rowHeight="44" sectionHeaderHeight="8" sectionFooterHeight="1" translatesAutoresizingMaskIntoConstraints="NO" id="7xh-V2-Cso">
<rect key="frame" x="0.0" y="46" width="367" height="518"/>
<animations/>
<color key="backgroundColor" red="0.93725490199999995" green="0.93725490199999995" blue="0.95686274510000002" alpha="1" colorSpace="calibratedRGB"/>
<connections>
<outlet property="dataSource" destination="-1" id="yHS-Xa-uTm"/>
Expand All @@ -38,6 +40,7 @@
</tableView>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Wmz-1a-UJw">
<rect key="frame" x="316" y="8" width="51" height="30"/>
<animations/>
<state key="normal" title="Cancel">
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
</state>
Expand All @@ -47,6 +50,7 @@
</button>
<button opaque="NO" contentMode="center" ambiguous="YES" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="3W7-r3-MuN">
<rect key="frame" x="0.0" y="578" width="375" height="48"/>
<animations/>
<constraints>
<constraint firstAttribute="height" constant="48" id="uH4-7h-pNc"/>
</constraints>
Expand All @@ -58,10 +62,13 @@
</connections>
</button>
</subviews>
<animations/>
</view>
<animations/>
<blurEffect style="extraLight"/>
</visualEffectView>
</subviews>
<animations/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="NkH-cS-cq6" secondAttribute="trailing" id="YSc-WJ-Lz0"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@



@protocol PaysafePaymentAuthorizationProcessDelegate<NSObject>
@protocol PaySafePaymentAuthorizationProcessDelegate <NSObject>

@required
/* This method will return the Customer vault Payment token
Expand Down Expand Up @@ -59,7 +59,7 @@

@interface PaySafePaymentAuthorizationProcess : NSObject <NSURLConnectionDelegate,PKPaymentAuthorizationViewControllerDelegate>

@property(nonatomic, assign)id<PaysafePaymentAuthorizationProcessDelegate>authDelegate;
@property(nonatomic, assign)id<PaySafePaymentAuthorizationProcessDelegate>authDelegate;


- (id)initWithMerchantIdentifier:(NSString*)merchantIdentifier withMerchantID:(NSString*)optiMerchantID withMerchantPwd:(NSString*)optiMerchantPwd withMerchantCountry:(NSString*)merchantCountry withMerchantCurrency:(NSString*)merchantCurrency;
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

import Foundation

class TVViewController: UIViewController , UITextFieldDelegate, AuthorizationProcessDelegate,PaysafePaymentAuthorizationProcessDelegate
class TVViewController: UIViewController , UITextFieldDelegate, AuthorizationProcessDelegate,PaySafePaymentAuthorizationProcessDelegate
{

@IBOutlet var payNowButton : UIButton?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import Foundation
import UIKit


class SWCreditCardViewController :UIViewController ,UITextFieldDelegate,PaysafePaymentAuthorizationProcessDelegate
class SWCreditCardViewController :UIViewController ,UITextFieldDelegate,PaySafePaymentAuthorizationProcessDelegate
{
@IBOutlet var scrollView :UIScrollView!
@IBOutlet var txtCardNo:UITextField!
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="10117" systemVersion="15G31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="9060" systemVersion="15G1004" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
<dependencies>
<deployment version="2048" identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9051"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="OPAYMockPaymentSummaryViewController">
Expand All @@ -21,6 +21,7 @@
<subviews>
<activityIndicatorView hidden="YES" opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" fixedFrame="YES" hidesWhenStopped="YES" style="gray" translatesAutoresizingMaskIntoConstraints="NO" id="HWL-sz-1EN">
<rect key="frame" x="178" y="633" width="20" height="20"/>
<animations/>
</activityIndicatorView>
<visualEffectView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="NkH-cS-cq6">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
Expand All @@ -30,6 +31,7 @@
<subviews>
<tableView clipsSubviews="YES" contentMode="scaleToFill" fixedFrame="YES" alwaysBounceVertical="YES" style="grouped" separatorStyle="none" rowHeight="44" sectionHeaderHeight="8" sectionFooterHeight="1" translatesAutoresizingMaskIntoConstraints="NO" id="7xh-V2-Cso">
<rect key="frame" x="0.0" y="46" width="367" height="518"/>
<animations/>
<color key="backgroundColor" red="0.93725490199999995" green="0.93725490199999995" blue="0.95686274510000002" alpha="1" colorSpace="calibratedRGB"/>
<connections>
<outlet property="dataSource" destination="-1" id="yHS-Xa-uTm"/>
Expand All @@ -38,6 +40,7 @@
</tableView>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Wmz-1a-UJw">
<rect key="frame" x="316" y="8" width="51" height="30"/>
<animations/>
<state key="normal" title="Cancel">
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
</state>
Expand All @@ -47,6 +50,7 @@
</button>
<button opaque="NO" contentMode="center" ambiguous="YES" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="3W7-r3-MuN">
<rect key="frame" x="0.0" y="578" width="375" height="48"/>
<animations/>
<constraints>
<constraint firstAttribute="height" constant="48" id="uH4-7h-pNc"/>
</constraints>
Expand All @@ -58,10 +62,13 @@
</connections>
</button>
</subviews>
<animations/>
</view>
<animations/>
<blurEffect style="extraLight"/>
</visualEffectView>
</subviews>
<animations/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="NkH-cS-cq6" secondAttribute="trailing" id="YSc-WJ-Lz0"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@



@protocol PaysafePaymentAuthorizationProcessDelegate<NSObject>
@protocol PaySafePaymentAuthorizationProcessDelegate <NSObject>

@required
/* This method will return the Customer vault Payment token
Expand Down Expand Up @@ -59,7 +59,7 @@

@interface PaySafePaymentAuthorizationProcess : NSObject <NSURLConnectionDelegate,PKPaymentAuthorizationViewControllerDelegate>

@property(nonatomic, assign)id<PaysafePaymentAuthorizationProcessDelegate>authDelegate;
@property(nonatomic, assign)id<PaySafePaymentAuthorizationProcessDelegate>authDelegate;


- (id)initWithMerchantIdentifier:(NSString*)merchantIdentifier withMerchantID:(NSString*)optiMerchantID withMerchantPwd:(NSString*)optiMerchantPwd withMerchantCountry:(NSString*)merchantCountry withMerchantCurrency:(NSString*)merchantCurrency;
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<dict>
<key>com.apple.developer.in-app-payments</key>
<array>
<string>merchant.com.optimalpayments.test.example02</string>
<string>merchant.com.paysafe.test.example01</string>
</array>
</dict>
</plist>
32 changes: 2 additions & 30 deletions Paysafe.podspec
Original file line number Diff line number Diff line change
@@ -1,42 +1,14 @@
#
# Be sure to run `pod lib lint Paysafe.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
s.name = 'Paysafe'
s.version = '1.0.0'
s.summary = 'A Paysafe apple pay SDK.'

# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!

s.description = <<-DESC
TODO: Add long description of the pod here.
DESC

s.homepage = 'https://github.com/paysafegroup/paysafe_sdk_ios.git'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = 'MIT'
s.author = { 'Paysafe' => '[email protected]' }
s.source = { :git => 'https://github.com/paysafegroup/paysafe_sdk_ios.git', :tag => '1.0.0' }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'



s.platform = :ios
s.requires_arc = true
s.source_files = 'iOS_SDK/PaymentKit/*.{h,m}','iOS_SDK/MockPassKItLib/*.{h,m}'
s.resource = 'iOS_SDK/MockPassKItLib/PaySafeMockPaymentSummaryViewController.xib'
# s.resource_bundles = {
# 'Paysafe' => ['Paysafe/Assets/*.png']
# }

# s.public_header_files = 'Pod/Classes/**/*.h'
# s.frameworks = 'UIKit', 'MapKit'
# s.dependency 'AFNetworking', '~> 2.3'
end
2 changes: 2 additions & 0 deletions iOS_SDK.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@
635B49291D7FE3E000F53F17 /* PaySafeMockShippingManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = PaySafeMockShippingManager.m; path = MockPassKItLib/PaySafeMockShippingManager.m; sourceTree = "<group>"; };
635B492A1D7FE3E000F53F17 /* PaySafeMockShippingMethodStore.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PaySafeMockShippingMethodStore.h; path = MockPassKItLib/PaySafeMockShippingMethodStore.h; sourceTree = "<group>"; };
635B492B1D7FE3E000F53F17 /* PaySafeMockShippingMethodStore.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = PaySafeMockShippingMethodStore.m; path = MockPassKItLib/PaySafeMockShippingMethodStore.m; sourceTree = "<group>"; };
63E12A0C1DBA0D1300EB2ADA /* Paysafe.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; fileEncoding = 4; path = Paysafe.podspec; sourceTree = "<group>"; };
ADD9C1931BC7972900981AB7 /* libiOS_SDK.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libiOS_SDK.a; sourceTree = BUILT_PRODUCTS_DIR; };
ADD9C2151BC79E1300981AB7 /* PKPayment+OPAYMockKeys.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "PKPayment+OPAYMockKeys.h"; path = "MockPassKItLib/PKPayment+OPAYMockKeys.h"; sourceTree = "<group>"; };
ADD9C2161BC79E1300981AB7 /* PKPayment+OPAYMockKeys.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "PKPayment+OPAYMockKeys.m"; path = "MockPassKItLib/PKPayment+OPAYMockKeys.m"; sourceTree = "<group>"; };
Expand All @@ -132,6 +133,7 @@
ADD9C18A1BC7972900981AB7 = {
isa = PBXGroup;
children = (
63E12A0C1DBA0D1300EB2ADA /* Paysafe.podspec */,
ADD9C1951BC7972900981AB7 /* iOS_SDK */,
ADD9C1941BC7972900981AB7 /* Products */,
);
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion iOS_SDK/MockPassKItLib/PaySafeMockPayment.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// OPAYMockPayment.h
// PaySafeMockPayment.h
//
// Created by sachin on 26/02/15.
// Copyright (c) 2015 PaySafe. All rights reserved.
Expand Down
1 change: 1 addition & 0 deletions iOS_SDK/MockPassKItLib/PaySafeMockPayment.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

#import "PaySafeMockPayment.h"
#import "PaySafeMockApplePayDef.h"
#import <PassKit/PassKit.h>

@implementation PaySafeMockPayment

Expand Down
2 changes: 1 addition & 1 deletion iOS_SDK/PaymentKit/PaySafePaymentAuthorizationProcess.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// OPAYPaymentAuthorizationProcess.m
// PaySafePaymentAuthorizationProcess.m
// iOS_SDK
//
// Created by Sachin Barage on 09/10/15.
Expand Down

0 comments on commit 83d30ed

Please sign in to comment.