TinkMoneyManagerUI Documentation Beta

Class Account​Details​View​Controller

public final class AccountDetailsViewController: UIViewController

A view controller that displays balance and transactions for a specific account. Required scopes: accounts:read, categories:read, transactions:read and transactions:categorize.

Use the AccountDetailsViewController when you want to display information and transactions about one of the user's accounts.

When creating the view controller, you specify the ID for which account to display.

let accountDetailsViewController = AccountDetailsViewController(tink: <#Tink#>, accountID: <#Account.ID#>)
show(accountDetailsViewController, sender: <#Any#>)
AccountDetailsViewController AccountDetailsViewController UIAdaptivePresentationControllerDelegate UIAdaptivePresentationControllerDelegate AccountDetailsViewController->UIAdaptivePresentationControllerDelegate UIViewController UIViewController AccountDetailsViewController->UIViewController TransactionsViewControllerDelegate TransactionsViewControllerDelegate AccountDetailsViewController->TransactionsViewControllerDelegate

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:​account​ID:​)

public convenience init(tink: Tink = .shared, accountID: Account.ID)

Initializes a new view controller.

Parameters

tink Tink

A configured Tink.

account​ID Account.​ID

The id of the account to show.

init(tink:​account​Id:​)

@available(*, deprecated, renamed: "init(tink:accountID:)") public convenience init(tink: Tink = .shared, accountId: Account.ID)

init?(coder:​)

@available(*, unavailable) public required init?(coder aDecoder: NSCoder)

Properties

delegate

var delegate: AccountDetailsViewControllerDelegate?

An object that conforms to the AccountDetailsViewControllerDelegate protocol.

Methods

view​Did​Load()

override public func viewDidLoad()

view​Did​Appear(_:​)

override public func viewDidAppear(_ animated: Bool)

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

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

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

public func presentationControllerWillDismiss(_ presentationController: UIPresentationController)