TinkMoneyManagerUI Documentation Beta

Class Edit​Budget​View​Controller

public final class EditBudgetViewController: UINavigationController

A view controller that can be used to edit a budget.

Use the EditBudgetViewController when you want to let the user either update the name, amount and period of the budget or delete the budget.

Required scopes: budgets:write, budgets:read.

When creating the view controller, specify the ID for which budget to edit.

let editBudgetViewController = EditBudgetViewController(budgetID: <#Budget.ID#>)
present(editBudgetViewController, animated: true)
EditBudgetViewController EditBudgetViewController UINavigationController UINavigationController EditBudgetViewController->UINavigationController

Conforms To

UINavigationController

Initializers

init(tink:​budget​ID:​)

public convenience init(tink: Tink = .shared, budgetID: Budget.ID)

Initializes a new view controller.

Parameters

tink Tink

A configured Tink object.

budget​ID Budget.​ID

An id of the budget to update.

Properties

edit​Budget​View​Controller​Delegate

var editBudgetViewControllerDelegate: EditBudgetViewControllerDelegate?

An object that conforms to the EditBudgetViewControllerDelegate protocol.

Methods

view​Did​Load()

override public func viewDidLoad()

view​Did​Appear(_:​)

override public func viewDidAppear(_ animated: Bool)