How can I fix this what does this mean?

let contact5: UITextField! = nil
    let contact4: UITextField! = nil
    let contact3: UITextField! = nil
    let contact2: UITextField! = nil
    let contact1: UITextField! = nil

let allContacts = [ contact1,contact2,contact3,contact4,contact5]
// THis is the error: Cannot use instance member 'contact1' within property initializer; property initializers run before 'self' is available

Powered by WPeMatico

About

You may also like...

Comments are closed.