I am learning how to access property in struc. I am trying to access the title property from the categorie struct. I am only able to to business.categories. How can I do to access the title property.
struct categorie: Decodable{
let title: [String]
}
struct Business: Decodable {
let name: String = ""
let categories: [categorie]
}
titleproperty.