Skip to content

"Cannot find type 'TextFiefldFormableRow' in scope" #122

Description

@jderbs

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) {}
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions