diff --git a/BankSDK/GiniBankSDK/Sources/GiniBankSDK/Core/ReturnAssistant/EditLineItem/EditLineItemViewModel.swift b/BankSDK/GiniBankSDK/Sources/GiniBankSDK/Core/ReturnAssistant/EditLineItem/EditLineItemViewModel.swift index ca1661e65..de3a28508 100644 --- a/BankSDK/GiniBankSDK/Sources/GiniBankSDK/Core/ReturnAssistant/EditLineItem/EditLineItemViewModel.swift +++ b/BankSDK/GiniBankSDK/Sources/GiniBankSDK/Core/ReturnAssistant/EditLineItem/EditLineItemViewModel.swift @@ -15,7 +15,7 @@ protocol EditLineItemViewModelDelegate: AnyObject { final class EditLineItemViewModel { weak var delegate: EditLineItemViewModelDelegate? private var lineItem: DigitalInvoice.LineItem - private (set) var itemsChanged: [GiniLineItemAnalytics] = [] + private(set) var itemsChanged: [GiniLineItemAnalytics] = [] var name: String? { return lineItem.name diff --git a/BankSDK/GiniBankSDK/Sources/GiniBankSDK/Core/Skonto/Models/SkontoDocumentPagesViewModel.swift b/BankSDK/GiniBankSDK/Sources/GiniBankSDK/Core/Skonto/Models/SkontoDocumentPagesViewModel.swift index 2be3b1fed..4346d0340 100644 --- a/BankSDK/GiniBankSDK/Sources/GiniBankSDK/Core/Skonto/Models/SkontoDocumentPagesViewModel.swift +++ b/BankSDK/GiniBankSDK/Sources/GiniBankSDK/Core/Skonto/Models/SkontoDocumentPagesViewModel.swift @@ -27,7 +27,7 @@ final class SkontoDocumentPagesViewModel: DocumentPagesViewModelProtocol { private var expiryDate: Date // Information to be displayed in the screen after highlighting Skonto details - private (set) var processedImages = [UIImage]() + private(set) var processedImages = [UIImage]() static var screenTitle = NSLocalizedStringPreferredGiniBankFormat("ginibank.skonto.document.pages.screen.title", comment: "Skonto discount details") var bottomInfoItems: [String] { diff --git a/BankSDK/GiniBankSDK/Sources/GiniBankSDK/Core/Skonto/Models/SkontoViewModel.swift b/BankSDK/GiniBankSDK/Sources/GiniBankSDK/Core/Skonto/Models/SkontoViewModel.swift index c722c3332..5b0230903 100644 --- a/BankSDK/GiniBankSDK/Sources/GiniBankSDK/Core/Skonto/Models/SkontoViewModel.swift +++ b/BankSDK/GiniBankSDK/Sources/GiniBankSDK/Core/Skonto/Models/SkontoViewModel.swift @@ -26,21 +26,21 @@ class SkontoViewModel { var proceedAction: (() -> Void)? private let skontoDiscounts: SkontoDiscounts - private (set) var isWithDiscountSwitchAvailable: Bool + private(set) var isWithDiscountSwitchAvailable: Bool private var skontoPercentage: Double - private (set) var isSkontoApplied: Bool = true - private (set) var amountToPay: Price - private (set) var skontoAmountToPay: Price + private(set) var isSkontoApplied: Bool = true + private(set) var amountToPay: Price + private(set) var skontoAmountToPay: Price - private (set) var dueDate: Date - private (set) var amountDiscounted: Price - private (set) var currencyCode: String - private (set) var remainingDays: Int - private (set) var paymentMethod: SkontoDiscountDetails.PaymentMethod - private (set) var edgeCase: SkontoEdgeCase? + private(set) var dueDate: Date + private(set) var amountDiscounted: Price + private(set) var currencyCode: String + private(set) var remainingDays: Int + private(set) var paymentMethod: SkontoDiscountDetails.PaymentMethod + private(set) var edgeCase: SkontoEdgeCase? - private (set) var documentPagesViewModel: SkontoDocumentPagesViewModel? + private(set) var documentPagesViewModel: SkontoDocumentPagesViewModel? private var maximumAmountToPayValue: Decimal = 99999.99 diff --git a/BankSDK/GiniBankSDK/Sources/GiniBankSDK/Core/TransactionDocs/Components/TransactionDocsItemView.swift b/BankSDK/GiniBankSDK/Sources/GiniBankSDK/Core/TransactionDocs/Components/TransactionDocsItemView.swift index afa96132b..ff0fcc429 100644 --- a/BankSDK/GiniBankSDK/Sources/GiniBankSDK/Core/TransactionDocs/Components/TransactionDocsItemView.swift +++ b/BankSDK/GiniBankSDK/Sources/GiniBankSDK/Core/TransactionDocs/Components/TransactionDocsItemView.swift @@ -52,7 +52,7 @@ class TransactionDocsItemView: UIView { private let configuration = GiniBankConfiguration.shared - private (set) var transactionDocsItem: TransactionDoc? + private(set) var transactionDocsItem: TransactionDoc? var optionsAction: (() -> Void)? diff --git a/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/Help/ViewControllers/HelpFormatsViewController.swift b/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/Help/ViewControllers/HelpFormatsViewController.swift index 55e06adc6..4bfacb308 100644 --- a/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/Help/ViewControllers/HelpFormatsViewController.swift +++ b/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/Help/ViewControllers/HelpFormatsViewController.swift @@ -23,7 +23,7 @@ final class HelpFormatsViewController: UIViewController, HelpBottomBarEnabledVie tableView.translatesAutoresizingMaskIntoConstraints = false return tableView }() - private (set) var dataSource: HelpFormatsDataSource + private(set) var dataSource: HelpFormatsDataSource private var giniConfiguration: GiniConfiguration private let tableRowHeight: CGFloat = 44 private let sectionHeight: CGFloat = 70 diff --git a/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/Help/ViewControllers/HelpMenuViewController.swift b/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/Help/ViewControllers/HelpMenuViewController.swift index 8cdbccf67..d396a74ce 100644 --- a/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/Help/ViewControllers/HelpMenuViewController.swift +++ b/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/Help/ViewControllers/HelpMenuViewController.swift @@ -22,7 +22,7 @@ protocol HelpMenuViewControllerDelegate: AnyObject { final class HelpMenuViewController: UIViewController, HelpBottomBarEnabledViewController { weak var delegate: HelpMenuViewControllerDelegate? - private (set) var dataSource: HelpMenuDataSource + private(set) var dataSource: HelpMenuDataSource private let giniConfiguration: GiniConfiguration private let tableRowHeight: CGFloat = 44 var navigationBarBottomAdapter: HelpBottomNavigationBarAdapter? diff --git a/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/Help/ViewControllers/HelpTipsViewController.swift b/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/Help/ViewControllers/HelpTipsViewController.swift index 327dce613..f5e2a4381 100644 --- a/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/Help/ViewControllers/HelpTipsViewController.swift +++ b/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/Help/ViewControllers/HelpTipsViewController.swift @@ -28,7 +28,7 @@ final class HelpTipsViewController: UIViewController, HelpBottomBarEnabledViewCo tableView.translatesAutoresizingMaskIntoConstraints = false return tableView }() - private (set) var dataSource: HelpTipsDataSource + private(set) var dataSource: HelpTipsDataSource private var giniConfiguration: GiniConfiguration private let tableRowHeight: CGFloat = 76 diff --git a/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/NoResult/BottomButtonsViewModel.swift b/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/NoResult/BottomButtonsViewModel.swift index edcd98598..0b28e492d 100644 --- a/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/NoResult/BottomButtonsViewModel.swift +++ b/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/NoResult/BottomButtonsViewModel.swift @@ -15,7 +15,7 @@ final class BottomButtonsViewModel { init(retakeBlock: (() -> Void)? = nil, manuallyPressed: (() -> Void)? = nil, - cancelPressed: @escaping(() -> Void)) { + cancelPressed: @escaping (() -> Void)) { self.retakePressed = retakeBlock self.enterManuallyPressed = manuallyPressed self.cancelPressed = cancelPressed diff --git a/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/NoResult/NoResultScreenViewController.swift b/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/NoResult/NoResultScreenViewController.swift index 55fe441dc..033dc1b2e 100644 --- a/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/NoResult/NoResultScreenViewController.swift +++ b/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/NoResult/NoResultScreenViewController.swift @@ -69,7 +69,7 @@ final class NoResultScreenViewController: UIViewController { } fatalError("No result header not found") }() - private (set) var dataSource: HelpDataSource + private(set) var dataSource: HelpDataSource private var giniConfiguration: GiniConfiguration private let type: NoResultType private let viewModel: BottomButtonsViewModel diff --git a/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/Onboarding/OnboardingDataSource.swift b/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/Onboarding/OnboardingDataSource.swift index 179108e4d..bad09b08d 100644 --- a/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/Onboarding/OnboardingDataSource.swift +++ b/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/Onboarding/OnboardingDataSource.swift @@ -21,9 +21,9 @@ class OnboardingDataSource: NSObject, BaseCollectionViewDataSource { weak var delegate: OnboardingScreen? var isProgrammaticScroll = false - + private let giniConfiguration: GiniConfiguration - private (set) var currentPageIndex = 0 + private(set) var currentPageIndex = 0 private var isInitialScroll = true lazy var pageModels: [OnboardingPageModel] = { diff --git a/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/Onboarding/OnboardingViewController.swift b/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/Onboarding/OnboardingViewController.swift index c75c72170..9b1a59632 100644 --- a/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/Onboarding/OnboardingViewController.swift +++ b/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/Onboarding/OnboardingViewController.swift @@ -10,7 +10,7 @@ class OnboardingViewController: UIViewController { @IBOutlet weak var pagesCollection: UICollectionView! @IBOutlet weak var pageControl: UIPageControl! @IBOutlet weak var nextButton: MultilineTitleButton! - private (set) var dataSource: OnboardingDataSource + private(set) var dataSource: OnboardingDataSource private let configuration = GiniConfiguration.shared private var navigationBarBottomAdapter: OnboardingNavigationBarBottomAdapter? private var bottomNavigationBar: UIView?