Sha256: 11600b865aec0bdcb286b404d47f4273a8f2f2263d36f7e9b36a0250e92f771c

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 KB

Contents

//___FILEHEADER___

import Foundation

protocol ___VARIABLE_productName___Presentable {

}

class ___FILEBASENAMEASIDENTIFIER___: ___VARIABLE_productName___Presentable {
    
    // MARK: - Properties
    weak var viewController: ___VARIABLE_productName___Displayable?
    private let moduleConfiguration: ModuleConfiguration!
    
    // MARK: - Services
//    private var localizationService: LocalizationService! {
//        return moduleConfiguration.getModule(LocalizationService.self)
//    }
    
    // MARK: - Initializers
    init(_ moduleConfiguration: ModuleConfiguration!) {
        self.moduleConfiguration = moduleConfiguration
    }
}

//extension ___FILEBASENAMEASIDENTIFIER___: LoadingPresentable {
//    func presentLoadingView(_ show: Bool) {
//        viewController?.displayLoadingView(show)
//    }
//}

//extension ___FILEBASENAMEASIDENTIFIER___: ErrorPresentable {
//    func present(_ error: Error) {
//
//    }
//}

//extension ___FILEBASENAMEASIDENTIFIER___: EmptyStatePresentable {
//    func presentEmptyState() {
//        viewController?.displayEmptyState()
//    }
//}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blue_printer-0.1.5 Clean Swift VIP.xctemplate/___FILEBASENAME___Presenter.swift