Class
FinanceOverviewViewController
public final class FinanceOverviewViewController: UIViewController
A view controller for displaying an overview of a user's finances.
A FinanceOverviewViewController
displays an interface with sections of cards and graphs representing the user's latest data.
Relationships
Nested Types
FinanceOverviewViewController.Feature
A type that determines which sections should be shown in a
OverviewViewController
.FinanceOverviewViewController.Configuration
The configuration allows the Finance Overview screen to be customized in more detail, allowing you to customize the experience to your users needs.
Conforms To
UIGestureRecognizerDelegate
UIScrollViewDelegate
UIViewController
Initializers
init(tink:layoutSections:)
@available(*, deprecated, message: "Use init(tink:features:) instead and embed this view controller inside a UINavigationController.") public convenience init(tink: Tink = .shared, layoutSections: [Feature])
init(tink:features:)
public convenience init(tink: Tink = .shared, features: [Feature])
Initializes a new view controller.
Parameters
Name | Type | Description |
---|---|---|
tink | Tink |
A configured |
layoutSections | The layout sections to display. |
Properties
configuration
var configuration: Configuration
The configuration allows the FinanceOverviewViewController
to be customized in more detail, allowing you to customize the experience to your users needs.
hidesTopBarWhenPushed
var hidesTopBarWhenPushed = false
A Boolean value indicating whether the navigation bar at the top of the screen is hidden when the view controller is pushed on to a navigation controller.
shouldShowCurrencySymbolInStatisticsTotal
var shouldShowCurrencySymbolInStatisticsTotal: Bool = false
Determines whether a currency symbol should be shown for the total amount in the statistics pie charts.
Methods
viewDidLoad()
override public func viewDidLoad()
viewWillAppear(_:)
override public func viewWillAppear(_ animated: Bool)
viewDidAppear(_:)
override public func viewDidAppear(_ animated: Bool)
viewWillDisappear(_:)
override public func viewWillDisappear(_ animated: Bool)
scrollViewDidScroll(_:)
public func scrollViewDidScroll(_ scrollView: UIScrollView)
gestureRecognizerShouldBegin(_:)
public func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool