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…

Hello I Use XCode 9.3 and Swift 4.1 Below my code:   import SolarMaxIosFramework var upsList = [Any]() class initUps { //    print(“InitUps Initialization”)   func loadUpsValues () {       print(“loadUpsValues”)       let upsFileAsURL = URL(string: “Upslist.txt”)       //   Original ObjectiveC: NSMutableArray *ListUpsArray = [NSMutableArray arrayWithContentsOfURL:upsFile]; let upsList =…