Skip to content

Commit

Permalink
Merge pull request #23 from kasper-lahti/rc-0.15.0
Browse files Browse the repository at this point in the history
Tink Money Manager 0.15.0
  • Loading branch information
kasper-lahti committed Mar 4, 2021
2 parents 49e3414 + a8cd699 commit d2b3000
Show file tree
Hide file tree
Showing 251 changed files with 8,257 additions and 15,205 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,40 +7,18 @@
objects = {

/* Begin PBXBuildFile section */
205C2F92241F60FE00BD3CF1 /* TinkPFMUI.strings in Resources */ = {isa = PBXBuildFile; fileRef = 205C2F94241F60FE00BD3CF1 /* TinkPFMUI.strings */; };
20C24BAD241A398200EB5927 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 20C24BAC241A398200EB5927 /* Assets.xcassets */; };
6B6F8FEB252C69450022A909 /* TinkPFMUI.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6B6F8FEA252C69450022A909 /* TinkPFMUI.xcframework */; };
6B6F8FEC252C69450022A909 /* TinkPFMUI.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 6B6F8FEA252C69450022A909 /* TinkPFMUI.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
9D4E7AD5250B9DF800AE88DB /* TinkCore.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9D4E7AD4250B9DF800AE88DB /* TinkCore.xcframework */; };
9D4E7AD6250B9DF800AE88DB /* TinkCore.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9D4E7AD4250B9DF800AE88DB /* TinkCore.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
8FDC12E925DD407800655EF1 /* TinkMoneyManagerUI in Frameworks */ = {isa = PBXBuildFile; productRef = 8FDC12E825DD407800655EF1 /* TinkMoneyManagerUI */; };
9DC592592395548000C9A5F1 /* DebugAnalyticsIntegration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9DC592582395548000C9A5F1 /* DebugAnalyticsIntegration.swift */; };
9DDD67A82368850500507DF3 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9DDD67A72368850500507DF3 /* AppDelegate.swift */; };
9DDD67B42368850700507DF3 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 9DDD67B22368850700507DF3 /* LaunchScreen.storyboard */; };
/* End PBXBuildFile section */

/* Begin PBXCopyFilesBuildPhase section */
20DBE51A2424F86C005AA1B9 /* Embed Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
9D4E7AD6250B9DF800AE88DB /* TinkCore.xcframework in Embed Frameworks */,
6B6F8FEC252C69450022A909 /* TinkPFMUI.xcframework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
20183728242258FF00F07BC8 /* sv */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = sv; path = sv.lproj/TinkPFMUI.strings; sourceTree = "<group>"; };
209B492325D692F900182B4A /* tink-pfm-sdk-ios */ = {isa = PBXFileReference; lastKnownFileType = folder; name = "tink-pfm-sdk-ios"; path = ../..; sourceTree = "<group>"; };
20C24BAC241A398200EB5927 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
20EDBBC8237AF43B00A225D1 /* sv */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = sv; path = sv.lproj/LaunchScreen.strings; sourceTree = "<group>"; };
6B6F8FEA252C69450022A909 /* TinkPFMUI.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = TinkPFMUI.xcframework; path = ../../TinkPFMUI.xcframework; sourceTree = "<group>"; };
9D4E7AD4250B9DF800AE88DB /* TinkCore.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = TinkCore.xcframework; path = ../../TinkCore.xcframework; sourceTree = "<group>"; };
9DC592582395548000C9A5F1 /* DebugAnalyticsIntegration.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DebugAnalyticsIntegration.swift; sourceTree = "<group>"; };
9DDD67A42368850500507DF3 /* PFMExampleApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PFMExampleApp.app; sourceTree = BUILT_PRODUCTS_DIR; };
9DDD67A42368850500507DF3 /* FinanceOverviewExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = FinanceOverviewExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
9DDD67A72368850500507DF3 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
9DDD67B32368850700507DF3 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
9DDD67B52368850700507DF3 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
Expand All @@ -51,8 +29,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
9D4E7AD5250B9DF800AE88DB /* TinkCore.xcframework in Frameworks */,
6B6F8FEB252C69450022A909 /* TinkPFMUI.xcframework in Frameworks */,
8FDC12E925DD407800655EF1 /* TinkMoneyManagerUI in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -62,16 +39,15 @@
9D4E7AD0250B9DE900AE88DB /* Frameworks */ = {
isa = PBXGroup;
children = (
6B6F8FEA252C69450022A909 /* TinkPFMUI.xcframework */,
9D4E7AD4250B9DF800AE88DB /* TinkCore.xcframework */,
209B492325D692F900182B4A /* tink-pfm-sdk-ios */,
);
name = Frameworks;
sourceTree = "<group>";
};
9DDD679B2368850500507DF3 = {
isa = PBXGroup;
children = (
9DDD67A62368850500507DF3 /* PFMExampleApp */,
9DDD67A62368850500507DF3 /* FinanceOverviewExample */,
9DDD67A52368850500507DF3 /* Products */,
9D4E7AD0250B9DE900AE88DB /* Frameworks */,
);
Expand All @@ -80,45 +56,44 @@
9DDD67A52368850500507DF3 /* Products */ = {
isa = PBXGroup;
children = (
9DDD67A42368850500507DF3 /* PFMExampleApp.app */,
9DDD67A42368850500507DF3 /* FinanceOverviewExample.app */,
);
name = Products;
sourceTree = "<group>";
};
9DDD67A62368850500507DF3 /* PFMExampleApp */ = {
9DDD67A62368850500507DF3 /* FinanceOverviewExample */ = {
isa = PBXGroup;
children = (
9DDD67A72368850500507DF3 /* AppDelegate.swift */,
9DDD67B22368850700507DF3 /* LaunchScreen.storyboard */,
9DDD67B52368850700507DF3 /* Info.plist */,
20C24BAC241A398200EB5927 /* Assets.xcassets */,
9DC592582395548000C9A5F1 /* DebugAnalyticsIntegration.swift */,
205C2F94241F60FE00BD3CF1 /* TinkPFMUI.strings */,
);
path = PFMExampleApp;
path = FinanceOverviewExample;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
9DDD67A32368850500507DF3 /* PFMExampleApp */ = {
9DDD67A32368850500507DF3 /* FinanceOverviewExample */ = {
isa = PBXNativeTarget;
buildConfigurationList = 9DDD67B82368850700507DF3 /* Build configuration list for PBXNativeTarget "PFMExampleApp" */;
buildConfigurationList = 9DDD67B82368850700507DF3 /* Build configuration list for PBXNativeTarget "FinanceOverviewExample" */;
buildPhases = (
9DDD67A02368850500507DF3 /* Sources */,
9DDD67A12368850500507DF3 /* Frameworks */,
9DDD67A22368850500507DF3 /* Resources */,
20DBE51A2424F86C005AA1B9 /* Embed Frameworks */,
);
buildRules = (
);
dependencies = (
);
name = PFMExampleApp;
name = FinanceOverviewExample;
packageProductDependencies = (
8FDC12E825DD407800655EF1 /* TinkMoneyManagerUI */,
);
productName = PFMExampleApp;
productReference = 9DDD67A42368850500507DF3 /* PFMExampleApp.app */;
productReference = 9DDD67A42368850500507DF3 /* FinanceOverviewExample.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
Expand All @@ -135,14 +110,13 @@
};
};
};
buildConfigurationList = 9DDD679F2368850500507DF3 /* Build configuration list for PBXProject "PFMExampleApp" */;
buildConfigurationList = 9DDD679F2368850500507DF3 /* Build configuration list for PBXProject "FinanceOverviewExample" */;
compatibilityVersion = "Xcode 9.3";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
sv,
);
mainGroup = 9DDD679B2368850500507DF3;
packageReferences = (
Expand All @@ -151,7 +125,7 @@
projectDirPath = "";
projectRoot = "";
targets = (
9DDD67A32368850500507DF3 /* PFMExampleApp */,
9DDD67A32368850500507DF3 /* FinanceOverviewExample */,
);
};
/* End PBXProject section */
Expand All @@ -161,7 +135,6 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
205C2F92241F60FE00BD3CF1 /* TinkPFMUI.strings in Resources */,
9DDD67B42368850700507DF3 /* LaunchScreen.storyboard in Resources */,
20C24BAD241A398200EB5927 /* Assets.xcassets in Resources */,
);
Expand All @@ -182,19 +155,10 @@
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
205C2F94241F60FE00BD3CF1 /* TinkPFMUI.strings */ = {
isa = PBXVariantGroup;
children = (
20183728242258FF00F07BC8 /* sv */,
);
name = TinkPFMUI.strings;
sourceTree = "<group>";
};
9DDD67B22368850700507DF3 /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
9DDD67B32368850700507DF3 /* Base */,
20EDBBC8237AF43B00A225D1 /* sv */,
);
name = LaunchScreen.storyboard;
sourceTree = "<group>";
Expand Down Expand Up @@ -325,12 +289,12 @@
CODE_SIGN_STYLE = Manual;
DEVELOPMENT_TEAM = "";
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = PFMExampleApp/Info.plist;
INFOPLIST_FILE = FinanceOverviewExample/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.tink.PFMExampleApp;
PRODUCT_BUNDLE_IDENTIFIER = com.tink.MoneyManager.FinanceOverviewExample;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_VERSION = 5.0;
Expand All @@ -345,12 +309,12 @@
CODE_SIGN_STYLE = Manual;
DEVELOPMENT_TEAM = "";
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = PFMExampleApp/Info.plist;
INFOPLIST_FILE = FinanceOverviewExample/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.tink.PFMExampleApp;
PRODUCT_BUNDLE_IDENTIFIER = com.tink.MoneyManager.FinanceOverviewExample;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_VERSION = 5.0;
Expand All @@ -361,7 +325,7 @@
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
9DDD679F2368850500507DF3 /* Build configuration list for PBXProject "PFMExampleApp" */ = {
9DDD679F2368850500507DF3 /* Build configuration list for PBXProject "FinanceOverviewExample" */ = {
isa = XCConfigurationList;
buildConfigurations = (
9DDD67B62368850700507DF3 /* Debug */,
Expand All @@ -370,7 +334,7 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Debug;
};
9DDD67B82368850700507DF3 /* Build configuration list for PBXNativeTarget "PFMExampleApp" */ = {
9DDD67B82368850700507DF3 /* Build configuration list for PBXNativeTarget "FinanceOverviewExample" */ = {
isa = XCConfigurationList;
buildConfigurations = (
9DDD67B92368850700507DF3 /* Debug */,
Expand All @@ -380,6 +344,13 @@
defaultConfigurationName = Debug;
};
/* End XCConfigurationList section */

/* Begin XCSwiftPackageProductDependency section */
8FDC12E825DD407800655EF1 /* TinkMoneyManagerUI */ = {
isa = XCSwiftPackageProductDependency;
productName = TinkMoneyManagerUI;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = 9DDD679C2368850500507DF3 /* Project object */;
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9DDD67A32368850500507DF3"
BuildableName = "PFMExampleApp.app"
BlueprintName = "PFMExampleApp"
ReferencedContainer = "container:PFMExampleApp.xcodeproj">
BuildableName = "FinanceOverviewExample.app"
BlueprintName = "FinanceOverviewExample"
ReferencedContainer = "container:FinanceOverviewExample.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
Expand Down Expand Up @@ -45,9 +45,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9DDD67A32368850500507DF3"
BuildableName = "PFMExampleApp.app"
BlueprintName = "PFMExampleApp"
ReferencedContainer = "container:PFMExampleApp.xcodeproj">
BuildableName = "FinanceOverviewExample.app"
BlueprintName = "FinanceOverviewExample"
ReferencedContainer = "container:FinanceOverviewExample.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
Expand All @@ -62,9 +62,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9DDD67A32368850500507DF3"
BuildableName = "PFMExampleApp.app"
BlueprintName = "PFMExampleApp"
ReferencedContainer = "container:PFMExampleApp.xcodeproj">
BuildableName = "FinanceOverviewExample.app"
BlueprintName = "FinanceOverviewExample"
ReferencedContainer = "container:FinanceOverviewExample.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import UIKit
import TinkPFMUI
import TinkMoneyManagerUI

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
Expand All @@ -10,7 +10,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
let tabBarController = UITabBarController()

let configuration = TinkPFMConfiguration(clientID: "YOUR_CLIENT_ID")
let configuration = TinkMoneyManagerConfiguration(clientID: "YOUR_CLIENT_ID")
let tink = Tink(configuration: configuration)
tink.userSession = .accessToken("YOUR_ACCESS_TOKEN")

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="15505" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="17701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15509"/>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17703"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="System colors in document resources" minToolsVersion="11.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
Expand All @@ -15,8 +17,8 @@
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="PFM Example" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="g3O-7S-aH9" userLabel="MainLabel">
<rect key="frame" x="142" y="435" width="130" height="26.5"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Finance Overview Example" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="g3O-7S-aH9" userLabel="MainLabel">
<rect key="frame" x="79.5" y="434.5" width="255" height="27"/>
<fontDescription key="fontDescription" style="UICTFontTextStyleTitle2"/>
<color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<nil key="highlightedColor"/>
Expand All @@ -25,17 +27,22 @@
</attributedString>
</label>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints>
<constraint firstItem="g3O-7S-aH9" firstAttribute="centerX" secondItem="Ze5-6b-2t3" secondAttribute="centerX" id="4ws-kY-3a5"/>
<constraint firstItem="g3O-7S-aH9" firstAttribute="centerY" secondItem="Ze5-6b-2t3" secondAttribute="centerY" id="XYR-P5-YVH"/>
</constraints>
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="53" y="375"/>
</scene>
</scenes>
<resources>
<systemColor name="systemBackgroundColor">
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</systemColor>
</resources>
</document>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Foundation
import TinkPFMUI
import TinkMoneyManagerUI
import os.log

final class DebugEventTracker: EventTracking {
Expand Down
13 changes: 13 additions & 0 deletions Examples/FinanceOverview/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Finance Overview Example Project

This example project shows how to use Tink Money Manager SDK on iOS. The project demonstrates how to configure and display the `FinanceOverviewViewController` within a `UITabBarController`.

## Prerequisites

Before you can use the SDK, you need to create a developer account at [Tink Console](https://console.tink.com/). You will also need to have a working integration with Tink to authenticate and authorize users.

## Getting started

Open `AppDelegate.swift` and replace `YOUR_CLIENT_ID` and `YOUR_ACCESS_TOKEN` with your client id and user access token respectively.

You should now be able to run the test project and try it out.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit d2b3000

Please sign in to comment.