TransactionCreationViewController
final class TransactionCreationViewController : UIViewController
extension TransactionCreationViewController: ViewControllerKeyboardPresenter
extension TransactionCreationViewController: UITextFieldDelegate
extension TransactionCreationViewController: UIScrollViewDelegate
extension TransactionCreationViewController: UIPickerViewDelegate, UIPickerViewDataSource
Transaction creator dialog.
Receives the transaction amount and waits for the user input on name, date, category, notes, etc. Includes:
- DatePanel
- CategoriesPanel
- NotePanel
-
Cancel action button.
Declaration
Swift
@IBOutlet weak var leftButton: UIButton!
-
Proceed action button.
Declaration
Swift
@IBOutlet weak var rightButton: UIButton!
-
Dismiss dialog closure type.
Declaration
Swift
var onDismiss: ((Result<ModelUniqueID, NoError>) -> Void)?
-
Create transaction view model.
Declaration
Swift
let viewModel: CreateTransactionViewModel