struct Student{
  var rollNum : Int
  var name : String
  var contact : Contact
}
struct Contact{
  var phoneNum : String
  var mailId : String
}
let contact = Contact(phoneNum : "1234567890", mailId : "abcd@xyz.com") 
let student = Student(rollNum : 1, name : "John", contact : contact)
Here, the path for mail Id is given as a String "Student/contact/mailId". How to convert this to Object Path as Student.contact.mailId?
Assume the label wants to display the mail ID, I would give the path string as "Student/contact/mailId" and the label should display the mail id as abcd@xyz.com
 
    