StasMagic
9/7/2018 - 6:49 PM

EditableCellOutput

// MARK: - EditableCellOutput
extension MakeOrderDeliveryView: EditableCellOutput {
    
    func didEndEditing(for cell: UITableViewCell, value: String?) {
        guard let indexPath = tableView.indexPath(for: cell),
            let section = C.TableView.Sections(rawValue: indexPath.section) else { return }
        
        if section == .city {
            guard let type = Profile.PersonalDataType(rawValue: indexPath.row) else { return }
            //            output.valueDidChanged(type: type, by: value)
        }
        
    }
    
    func valueDidChanged(for cell: UITableViewCell, by value: String?) {}
    
}