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

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

Open
jderbs opened this issue Jul 13, 2021 · 0 comments
Open

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

jderbs opened this issue Jul 13, 2021 · 0 comments

Comments

@jderbs
Copy link

jderbs commented Jul 13, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant