import Foundation

extension Container {

    func shoppingsTableViewModel(shopping: Shopping) -> ShoppingsTableRowViewModel {
        return ShoppingsTableRowViewModel(shopping: shopping, assembly: Assembly())
    }

    private struct Assembly: ShoppingsTableRowViewModelAssembly {

        // MARK: ShoppingsTableRowViewModelAssembly

        var dateFormatter: DateFormatter {
            return DateFormatter()
        }

    }

}

import Foundation

extension Container {

    func shoppingsTableRowViewModel(shopping: Shopping) -> ShoppingsTableRowViewModel {
        return ShoppingsTableRowViewModel(shopping: shopping, assembly: Assembly())
    }

    private struct Assembly: ShoppingsTableRowViewModelAssembly {

        // MARK: ShoppingsTableRowViewModelAssembly

        var dateFormatter: DateFormatter {
            return DateFormatter()
        }

    }

}

Fix crash in Container extension
Fix crash in Container extension
