title: Core Data: fetching from related entity
body: <p>I have one to one relationship with User and Company table. I am trying to get the data of company via User predicate. I am creating a simple UI on storyboard and searching for name. And via using this name attribute, i want to know the number and company attribute associated with this. I can get the number attribute but i am not able to get the company attribute. </p>
  
  <p>This is the added source code for where i want to fetch the attributes</p>
  
  <p><a href="https://i.stack.imgur.com/w4fh8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/w4fh8.png" alt="Please check the console image for the returned value"></a></p>
  
  <p><a href="https://i.stack.imgur.com/3XdZn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3XdZn.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/Yl8CM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Yl8CM.png" alt="enter image description here"></a></p>