Class
IconProvider
public class IconProvider: IconProviding
A type that can provide custom icons for Tink views.
Relationships
Conforms To
IconProviding
A type that can provide icons for Tink views.
Initializers
init()
public init()
init(account:alert:benefits:budget:doubleTransaction:exclude:expensesIcon:financial:food:wellness:home:house:incomeIcon:entertainment:pension:other:refund:salary:savings:search:shopping:tag:transfer:transport:uncategorizedIcon:categoryIconBackgroundCornerRadiusFactor:checkBoxIconBackgroundCornerRadiusFactor:)
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
Name | Type | Description |
---|---|---|
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. |
uncategorizedIcon | UIImage |
Icon representing uncategorized transactions. |
categoryIconBackgroundCornerRadiusFactor | 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.
doubleTransaction
var doubleTransaction: UIImage = MaterialIconsProvider.doubleTransaction
Icon representing double transactions.
exclude
var exclude: UIImage = MaterialIconsProvider.exclude
Icon representing excluded transactions.
expensesIcon
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.
incomeIcon
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.
uncategorizedIcon
var uncategorizedIcon: UIImage = MaterialIconsProvider.uncategorized
Icon representing uncategorized transactions.
categoryIconBackgroundCornerRadiusFactor
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.
checkBoxIconBackgroundCornerRadiusFactor
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.