TinkMoneyManagerUI Documentation Beta

Class Left​ToSpend​View​Controller

public final class LeftToSpendViewController: UIViewController

A view controller for displaying left to spend details. Required scopes: statistics:read, transactions:read, transactions:categorize, categories:read and calendar:read .

A LeftToSpendViewController displays an interface for browsing left to spend by month.

Overview

let leftToSpendViewController = LeftToSpendViewController(tink: <#Tink#>)
present(leftToSpendViewController, animated: true)

The LeftToSpendViewController has a right navigation item that navigates to the transactions list, but it does not manage navigation to the transactions list. Push the LeftToSpendViewController into a UINavigationController to show the transactions navigation item.

LeftToSpendViewController LeftToSpendViewController UIAdaptivePresentationControllerDelegate UIAdaptivePresentationControllerDelegate LeftToSpendViewController->UIAdaptivePresentationControllerDelegate TransactionsViewControllerDelegate TransactionsViewControllerDelegate LeftToSpendViewController->TransactionsViewControllerDelegate UIViewController UIViewController LeftToSpendViewController->UIViewController

Conforms To

TransactionsViewControllerDelegate

A set of methods that your delegate object can implement to track when the user selects a transaction, or to track when the loading transactions fails.

UIAdaptivePresentationControllerDelegate
UIViewController

Initializers

init(tink:​)

public convenience init(tink: Tink = .shared)

Initializes a new view controller.

Parameters

tink Tink

A configured Tink object.

Properties

should​Show​Currency​Symbol​InStatistics​Total

var shouldShowCurrencySymbolInStatisticsTotal = false

Determines whether a currency symbol should be shown for the total amount in the statistics pie charts.

Methods

view​Did​Load()

override public func viewDidLoad()

transactions​View​Controller(_:​did​Select​Transaction:​)

public func transactionsViewController(_ viewController: TransactionsViewController, didSelectTransaction transaction: Transaction)

presentation​Controller​Will​Dismiss(_:​)

public func presentationControllerWillDismiss(_ presentationController: UIPresentationController)