How can I access an struct attribute from an array? – Ios swift
What I want to do is to, after storing several objects of type CodigosAutorizacion inside an array: for value in 0..<(array.count) { let codeArray = CodigosAutorizacion( code: validateData!["codigo"] as? String, codeCancel: validateData!["cancela_codigo"] as? String, codeSite: validateData!["cod_sitio"] as? String, codeSiteCancel: validateData!["cancela_cod_sitio"]…