Open jderbs opened 3 years ago
Have this protocol implemented in a file, and it's worked for months. All of a sudden I started getting this error. Not sure why. Here's the file:
import UIKit import Former import PhoneNumberKit class PhoneNumberField: UITableViewCell, TextFiefldFormableRow { @IBOutlet weak var titleLabel: UILabel! @IBOutlet weak var textField: PhoneNumberTextField! override func awakeFromNib() { super.awakeFromNib() titleLabel.textColor = .formerColor() textField.textColor = .formerSubColor() textField.countryCodePlaceholderColor = Colorify.Marina if #available(iOS 11.0, *) { PhoneNumberKit.CountryCodePicker.commonCountryCodes = ["US", "CA", "MX", "AU", "GB", "DE"] } } override func setSelected(_ selected: Bool, animated: Bool) { super.setSelected(selected, animated: animated) // Configure the view for the selected state } func formTextField() -> UITextField { return textField } func formTitleLabel() -> UILabel? { return titleLabel } func updateWithRowFormer(_ rowFormer: RowFormer) {} }
Have this protocol implemented in a file, and it's worked for months. All of a sudden I started getting this error. Not sure why. Here's the file: