TinkMoneyManagerUI Documentation Beta

Class Icon​Provider

public class IconProvider: IconProviding

A type that can provide custom icons for Tink views.

IconProvider IconProvider IconProviding IconProviding IconProvider->IconProviding

Conforms To

IconProviding

A type that can provide icons for Tink views.

Initializers

init()

public init()

init(account:​alert:​benefits:​budget:​double​Transaction:​exclude:​expenses​Icon:​financial:​food:​wellness:​home:​house:​income​Icon:​entertainment:​pension:​other:​refund:​salary:​savings:​search:​shopping:​tag:​transfer:​transport:​uncategorized​Icon:​category​Icon​Background​Corner​Radius​Factor:​check​Box​Icon​Background​Corner​Radius​Factor:​)

public init(account: UIImage, alert: UIImage, benefits: UIImage, budget: UIImage, doubleTransaction: UIImage, exclude: UIImage, expensesIcon: UIImage, financial: UIImage, food: UIImage, wellness: UIImage, home: UIImage, house: UIImage, incomeIcon: UIImage, entertainment: UIImage, pension: UIImage, other: UIImage, refund: UIImage, salary: UIImage, savings: UIImage, search: UIImage, shopping: UIImage, tag: UIImage, transfer: UIImage, transport: UIImage, uncategorizedIcon: UIImage, categoryIconBackgroundCornerRadiusFactor: CGFloat? = nil, checkBoxIconBackgroundCornerRadiusFactor: CGFloat? = nil)

Initializes a appearance provider with the specified styling.

  • income Icon representing income for all categries.

Parameters

account UIImage

Icon representing accounts.

alert UIImage

Icon representing alerts.

benefits UIImage

Icon representing benefits.

budgets

Icon representing budgets.

exclude UIImage

Icon representing excluded transactions.

expenses

Icon representing expenses for all categories.

food UIImage

Icon representing food and drinks transactions.

wellness UIImage

Icon representing health and beauty transactions.

home UIImage

Icon representing household transactions.

house UIImage

Icon representing home and garden transactions.

entertainment UIImage

Icon representing free time and leisure transactions.

other UIImage

Icon representing other transactions.

refund UIImage

Icon representing refunds and reimbursements.

salary UIImage

Icon representing salary.

savings UIImage

Icon representing savings.

shopping UIImage

Icon representing shopping transactions.

transfer UIImage

Icon representing transfers.

transport UIImage

Icon representing transportation transactions.

uncategorized​Icon UIImage

Icon representing uncategorized transactions.

category​Icon​Background​Corner​Radius​Factor CGFloat?

Representing the corner radius factor of all icons, defaults to a circular shape.

Properties

account

var account: UIImage = MaterialIconsProvider.account

Icon representing accounts.

add

var add: UIImage = MaterialIconsProvider.add

Icon representing add button.

alert

var alert: UIImage = MaterialIconsProvider.alert

Icon representing alerts.

benefits

var benefits: UIImage = MaterialIconsProvider.benefits

Icon representing benefits.

budget

var budget: UIImage = MaterialIconsProvider.budget

Icon representing adding a budget.

double​Transaction

var doubleTransaction: UIImage = MaterialIconsProvider.doubleTransaction

Icon representing double transactions.

exclude

var exclude: UIImage = MaterialIconsProvider.exclude

Icon representing excluded transactions.

expenses​Icon

var expensesIcon: UIImage = MaterialIconsProvider.expenses

Icon representing expenses.

financial

var financial: UIImage = MaterialIconsProvider.financial

Icon representing financial.

food

var food: UIImage = MaterialIconsProvider.food

Icon representing food and drinks transactions.

wellness

var wellness: UIImage = MaterialIconsProvider.wellness

Icon representing health and beauty transactions.

home

var home: UIImage = MaterialIconsProvider.home

Icon representing household transactions.

house

var house: UIImage = MaterialIconsProvider.house

Icon representing house and gardening transactions.

income​Icon

var incomeIcon: UIImage = MaterialIconsProvider.income

Icon representing incomes.

entertainment

var entertainment: UIImage = MaterialIconsProvider.entertainment

Icon representing free time and leisure transactions.

pension

var pension: UIImage = MaterialIconsProvider.pension

Icon representing pension.

other

var other: UIImage = MaterialIconsProvider.other

Icon representing other transactions.

refund

var refund: UIImage = MaterialIconsProvider.refund

Icon representing reimbursed transactions.

salary

var salary: UIImage = MaterialIconsProvider.salary

Icon representing salary.

savings

var savings: UIImage = MaterialIconsProvider.savings

Icon representing savings.

search

var search: UIImage = MaterialIconsProvider.search

Icon representing searches.

shopping

var shopping: UIImage = MaterialIconsProvider.shopping

Icon representing shopping transactions.

tag

var tag: UIImage = MaterialIconsProvider.tag

Icon representing tags.

transfer

var transfer: UIImage = MaterialIconsProvider.transfer

Icon representing transfers.

transport

var transport: UIImage = MaterialIconsProvider.transport

Icon representing transportation transactions.

uncategorized​Icon

var uncategorizedIcon: UIImage = MaterialIconsProvider.uncategorized

Icon representing uncategorized transactions.

category​Icon​Background​Corner​Radius​Factor

var categoryIconBackgroundCornerRadiusFactor: CGFloat?

The corner radius to use for the background shape of all category icons. This can be set with a factor from 0.0 to 1.0 where 0.0 results in a square shape and 1.0 makes a circle.

check​Box​Icon​Background​Corner​Radius​Factor

var checkBoxIconBackgroundCornerRadiusFactor: CGFloat?

The corner radius to use for the background shape of check box. This can be set with a factor from 0.0 to 1.0 where 0.0 results in a square shape and 1.0 makes a circle.

notification

var notification: UIImage = MaterialIconsProvider.notification

Icon representing a notification.