Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Payload warning #2231

Merged
merged 5 commits into from
Sep 28, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update warning method
  • Loading branch information
mlorenze committed Sep 22, 2022
commit 201b70da41ac7a4ff8536fa732c4ec6fce1c2542
4 changes: 2 additions & 2 deletions Source/Rows/Common/DateFieldRow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ open class DateCell: Cell<Date>, CellType {
accessoryType = .none
editingAccessoryType = .none
datePicker.datePickerMode = datePickerMode()
datePicker.addTarget(self, action: #selector(DateCell.datePickerValueChanged(_:)), for: .valueChanged)
datePicker.addTarget(self, action: #selector(DateCell.datePickerValueWasChanged(_:)), for: .valueChanged)

#if swift(>=5.2)
if #available(iOS 13.4, *) {
Expand Down Expand Up @@ -89,7 +89,7 @@ open class DateCell: Cell<Date>, CellType {
return datePicker
}

@objc(pickerDateChanged:) func datePickerValueChanged(_ sender: UIDatePicker) {
@objc(datePickerValueWasChanged:) func datePickerValueWasChanged(_ sender: UIDatePicker) {
row.value = sender.date
detailTextLabel?.text = row.displayValueFor?(row.value)
}
Expand Down