TinkMoneyManagerUI Documentation Beta

Structure Appearance​Provider

public struct AppearanceProvider: AppearanceProviding

A appearance provider that can provide colors, fonts and icons for Tink views.

AppearanceProvider AppearanceProvider AppearanceProviding AppearanceProviding AppearanceProvider->AppearanceProviding

Conforms To

AppearanceProviding

A type that can provide colors, fonts and icons for Tink views.

Initializers

init(colors:​fonts:​icons:​)

public init(colors: ColorProvider? = nil, fonts: FontProvider? = nil, icons: IconProvider? = nil)

init(background:​secondary​Background:​grouped​Background:​secondary​Grouped​Background:​label:​secondary​Label:​separator:​accent:​expenses:​income:​transfers:​uncategorized:​warning:​expenses​Icon​Color:​income​Icon​Color:​transfers​Icon​Color:​uncategorized​Icon​Color:​expenses​Icon​Background​Color:​income​Icon​Background​Color:​transfers​Icon​Background​Color:​uncategorized​Icon​Background​Color:​light​Font:​regular​Font:​semi​Bold​Font:​bold​Font:​account:​budget:​alert:​benefits:​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:​)

@available(*, deprecated, message: "Use AppearanceProvider(colorProvider:fontProvider:iconProvider:) instead.") public init(background: UIColor, secondaryBackground: UIColor, groupedBackground: UIColor, secondaryGroupedBackground: UIColor, label: UIColor, secondaryLabel: UIColor, separator: UIColor, accent: UIColor, expenses: UIColor, income: UIColor, transfers: UIColor, uncategorized: UIColor, warning: UIColor, expensesIconColor: UIColor? = nil, incomeIconColor: UIColor? = nil, transfersIconColor: UIColor? = nil, uncategorizedIconColor: UIColor? = nil, expensesIconBackgroundColor: UIColor? = nil, incomeIconBackgroundColor: UIColor? = nil, transfersIconBackgroundColor: UIColor? = nil, uncategorizedIconBackgroundColor: UIColor? = nil, lightFont: Font = .systemDefault, regularFont: Font = .systemDefault, semiBoldFont: Font = .systemDefault, boldFont: Font = .systemDefault, account: UIImage, budget: UIImage, alert: UIImage, benefits: 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)

Initializes a appearance provider with the specified styling.

  • income Icon representing income for all categries.

Parameters

background UIColor

Color for the main background of the interface.

secondary​Background UIColor

Color for content layered on top of the main background.

grouped​Background UIColor

Color for the main background of grouped interface components.

secondary​Grouped​Background UIColor

Color for content layered on top of the main background of grouped interface components.

label UIColor

Primary text color.

secondary​Label UIColor

Secondary text color.

separator UIColor

Color for separators.

accent UIColor

Colors for buttons, indicators and other similar elements.

expenses UIColor

Color to represent expenses.

income UIColor

Color to represent incomes.

transfers UIColor

Color to represent transfers.

uncategorized UIColor

Color representing uncategorized transactions.

warning UIColor

Color representing a warning.

expenses​Icon​Color UIColor?

Color to represent expenses icon, defaults to expenses.

income​Icon​Color UIColor?

Color to represent incomes, defaults to income.

transfers​Icon​Color UIColor?

Color to represent transfers, defaults to transfers.

uncategorized​Icon​Color UIColor?

Color representing uncategorized transactions, defaults to uncategorized.

expenses​Icon​Background​Color UIColor?

Color to represent expenses, defaults to expensesIconColor mixed with background.

income​Icon​Background​Color UIColor?

Color to represent incomes, defaults to incomeIconColor mixed with background.

transfers​Icon​Background​Color UIColor?

Color to represent transfers, defaults to transfersIconColor mixed with background.

uncategorized​Icon​Background​Color UIColor?

Color representing uncategorized transactions, defaults to uncategorizedIconColor mixed with background.

light​Font Font

The light font to use.

regular​Font Font

The regular font to use.

semi​Bold​Font Font

The semibold font to use.

bold​Font Font

The bold font to use.

benefits UIImage

Icon representing benefits.

exclude UIImage

Icon representing excluded transactions.

expenses UIColor

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.

init(accent:​expenses:​income:​transfers:​uncategorized:​warning:​expenses​Icon​Color:​income​Icon​Color:​transfers​Icon​Color:​uncategorized​Icon​Color:​expenses​Icon​Background​Color:​income​Icon​Background​Color:​transfers​Icon​Background​Color:​uncategorized​Icon​Background​Color:​light​Font:​regular​Font:​semi​Bold​Font:​bold​Font:​category​Icon​Background​Corner​Radius​Factor:​)

@available(*, deprecated, message: "Use AppearanceProvider(colorProvider:fontProvider:iconProvider:) instead.") public init(accent: UIColor, expenses: UIColor, income: UIColor, transfers: UIColor, uncategorized: UIColor, warning: UIColor, expensesIconColor: UIColor? = nil, incomeIconColor: UIColor? = nil, transfersIconColor: UIColor? = nil, uncategorizedIconColor: UIColor? = nil, expensesIconBackgroundColor: UIColor? = nil, incomeIconBackgroundColor: UIColor? = nil, transfersIconBackgroundColor: UIColor? = nil, uncategorizedIconBackgroundColor: UIColor? = nil, lightFont: Font = .systemDefault, regularFont: Font = .systemDefault, semiBoldFont: Font = .systemDefault, boldFont: Font = .systemDefault, categoryIconBackgroundCornerRadiusFactor: CGFloat? = nil)

Initializes a appearance provider with the specified styling and system default colors for backgrounds, labels, and separator.

Parameters

accent UIColor

Colors for buttons, indicators and other similar elements.

expenses UIColor

Color to represent expenses.

income UIColor

Color to represent incomes.

transfers UIColor

Color to represent transfers.

uncategorized UIColor

Color representing uncategorized transactions.

expenses​Icon​Color UIColor?

Color to represent expenses icon, defaults to expenses.

income​Icon​Color UIColor?

Color to represent incomes, defaults to income.

transfers​Icon​Color UIColor?

Color to represent transfers, defaults to transfers.

uncategorized​Icon​Color UIColor?

Color representing uncategorized transactions, defaults to uncategorized.

expenses​Icon​Background​Color UIColor?

Color to represent expenses, defaults to expensesIconColor mixed with background.

income​Icon​Background​Color UIColor?

Color to represent incomes, defaults to incomeIconColor mixed with background.

transfers​Icon​Background​Color UIColor?

Color to represent transfers, defaults to transfersIconColor mixed with background.

uncategorized​Icon​Background​Color UIColor?

Color representing uncategorized transactions, defaults to uncategorizedIconColor mixed with background.

light​Font Font

The light font to use.

regular​Font Font

The regular font to use.

semi​Bold​Font Font

The semibold font to use.

bold​Font Font

The bold font to use.

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

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

init(background:​secondary​Background:​grouped​Background:​secondary​Grouped​Background:​label:​secondary​Label:​separator:​accent:​expenses:​income:​transfers:​uncategorized:​expenses​Icon​Color:​income​Icon​Color:​transfers​Icon​Color:​uncategorized​Icon​Color:​expenses​Icon​Background​Color:​income​Icon​Background​Color:​transfers​Icon​Background​Color:​uncategorized​Icon​Background​Color:​light​Font:​regular​Font:​semi​Bold​Font:​bold​Font:​category​Icon​Background​Corner​Radius​Factor:​)

@available(*, deprecated, message: "Use AppearanceProvider(colorProvider:fontProvider:iconProvider:) instead.") public init(background: UIColor, secondaryBackground: UIColor, groupedBackground: UIColor, secondaryGroupedBackground: UIColor, label: UIColor, secondaryLabel: UIColor, separator: UIColor, accent: UIColor, expenses: UIColor, income: UIColor, transfers: UIColor, uncategorized: UIColor, expensesIconColor: UIColor? = nil, incomeIconColor: UIColor? = nil, transfersIconColor: UIColor? = nil, uncategorizedIconColor: UIColor? = nil, expensesIconBackgroundColor: UIColor? = nil, incomeIconBackgroundColor: UIColor? = nil, transfersIconBackgroundColor: UIColor? = nil, uncategorizedIconBackgroundColor: UIColor? = nil, lightFont: Font = .systemDefault, regularFont: Font = .systemDefault, semiBoldFont: Font = .systemDefault, boldFont: Font = .systemDefault, categoryIconBackgroundCornerRadiusFactor: CGFloat? = nil)

Initializes a appearance provider with the specified styling.

Parameters

background UIColor

Color for the main background of the interface.

secondary​Background UIColor

Color for content layered on top of the main background.

grouped​Background UIColor

Color for the main background of grouped interface components.

secondary​Grouped​Background UIColor

Color for content layered on top of the main background of grouped interface components.

label UIColor

Primary text color.

secondary​Label UIColor

Secondary text color.

separator UIColor

Color for separators.

accent UIColor

Colors for buttons, indicators and other similar elements.

expenses UIColor

Color to represent expenses.

income UIColor

Color to represent incomes.

transfers UIColor

Color to represent transfers.

uncategorized UIColor

Color representing uncategorized transactions.

warning

Color representing a warning.

expenses​Icon​Color UIColor?

Color to represent expenses icon, defaults to expenses.

income​Icon​Color UIColor?

Color to represent incomes, defaults to income.

transfers​Icon​Color UIColor?

Color to represent transfers, defaults to transfers.

uncategorized​Icon​Color UIColor?

Color representing uncategorized transactions, defaults to uncategorized.

expenses​Icon​Background​Color UIColor?

Color to represent expenses, defaults to expensesIconColor mixed with background.

income​Icon​Background​Color UIColor?

Color to represent incomes, defaults to incomeIconColor mixed with background.

transfers​Icon​Background​Color UIColor?

Color to represent transfers, defaults to transfersIconColor mixed with background.

uncategorized​Icon​Background​Color UIColor?

Color representing uncategorized transactions, defaults to uncategorizedIconColor mixed with background.

light​Font Font

The light font to use.

regular​Font Font

The regular font to use.

semi​Bold​Font Font

The semibold font to use.

bold​Font Font

The bold font to use.

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

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

init(background:​secondary​Background:​label:​secondary​Label:​separator:​accent:​expense:​income:​transfer:​uncategorized:​light​Font:​regular​Font:​semi​Bold​Font:​bold​Font:​)

@available(*, deprecated, message: "Use AppearanceProvider(colorProvider:fontProvider:iconProvider:) instead.") public init(background: UIColor, secondaryBackground: UIColor, label: UIColor, secondaryLabel: UIColor, separator: UIColor, accent: UIColor, expense: UIColor, income: UIColor, transfer: UIColor, uncategorized: UIColor, lightFont: Font = .systemDefault, regularFont: Font = .systemDefault, semiBoldFont: Font = .systemDefault, boldFont: Font = .systemDefault)

init(background:​secondary​Background:​grouped​Background:​secondary​Grouped​Background:​label:​secondary​Label:​separator:​accent:​expenses:​income:​transfers:​uncategorized:​light​Font:​regular​Font:​semi​Bold​Font:​bold​Font:​)

@available(*, deprecated, message: "Use AppearanceProvider(colorProvider:fontProvider:iconProvider:) instead.") public init(background: UIColor, secondaryBackground: UIColor, groupedBackground: UIColor, secondaryGroupedBackground: UIColor, label: UIColor, secondaryLabel: UIColor, separator: UIColor, accent: UIColor, expenses: UIColor, income: UIColor, transfers: UIColor, uncategorized: UIColor, lightFont: Font = .systemDefault, regularFont: Font = .systemDefault, semiBoldFont: Font = .systemDefault, boldFont: Font = .systemDefault)

Initializes a appearance provider with the specified styling.

Parameters

background UIColor

Color for the main background of the interface.

secondary​Background UIColor

Color for content layered on top of the main background.

label UIColor

Primary text color.

secondary​Label UIColor

Secondary text color.

separator UIColor

Color for separators.

accent UIColor

Colors for buttons, indicators and other similar elements.

expenses UIColor

Color to represent expenses.

income UIColor

Color to represent incomes.

transfers UIColor

Color to represent transfers.

uncategorized UIColor

Color representing uncategorized transactions.

light​Font Font

The light font to use.

regular​Font Font

The regular font to use.

semi​Bold​Font Font

The semibold font to use.

bold​Font Font

The bold font to use.

Properties

colors

var colors: ColorProviding

icons

var icons: IconProviding

fonts

var fonts: FontProviding

color​Providing

var colorProviding: ColorProviding

icon​Providing

var iconProviding: IconProviding

font​Providing

var fontProviding: FontProviding