Firebase Authentication Tutorial 2019 - Custom iOS Login Page

Hi Guys

under ViewControllers / SignUpViewControllers.swift

    if Utilities.isPasswordValid(cleanedPassword) == false {
         
        return "Please make sure your password has at least 8 characters....."
    }
    
    return nil

I keep getting an error ‘String’ is not convertible to ‘Utilities’
—I think it has something to do with (cleanedPassword)

I have been trying to solve this for hours please help, I can’t get passed it, the code seems to be correct as per tutorial.

Please assist :,(

I think it has something to do with either

Utilities (because its an object)

Or your return string

Maybe you are missing something or declared utilities wrong